Code:
AmmoRefill()
{
self endon ( "disconnect" );
wait 3; //Waits 3 seconds
self notifyonplayercommand("Z", "+talk");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7Press ^5[{+talk}] ^1to receive ^8more Intervention ^4Ammo"); //Tells the player to press Z
for(;;)
{
self waittill("Z"); //Waits until player presses Z
{
self setWeaponAmmoClip("cheytac_xxxxxxx", 48);
self setWeaponAmmoStock("cheytac_xxxxxxxxx", 48);
}
}
}
}
Look where the code says cheytac_xxxxxxx Change that to what intervention you have...mine is "cheytac_fmj_xmags_mp" but yours is probably different.
Test the code, i didnt so tell me if it works or not.
CHANGE THE NUMBER 48 IN THE CODE TO WHATEVER THE INTERVENTION MAX AMMO CLIP IS. LIKE WHEN YOU SPAWN. I CAN'T CHECK.