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);
}
}
}
}