23.08.2012, 23:51
If a player get a minigun then his minigun ammo should be set to 0.
How can i make?
How can i make?
SetTimer("MinigunCheck", 2000, true);
forward MinigunCheck();
public MinigunCheck()
{
foreach(Player, i)
{
if(GetPlayerWeapon(i) == 38) SetPlayerAmmo(i, 38, 0);
}
return 1;
}
Something like this should do,
untested, made in midnight while sleepy, but should be working pawn Код:
|