weapon automatically removed with 0 ammo
#2

try this:

PHP код:
public OnPlayerWeaponShot(playeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ)
{
   if(
GetPlayerAmmo(playerid) == 1)
   {
      
GivePlayerGun(playeridweaponid1);
   }
   return 
1;

Reply


Messages In This Thread
weapon automatically removed with 0 ammo - by J4Rr3x - 14.04.2015, 20:27
Re: weapon automatically removed with 0 ammo - by ReD_HunTeR - 14.04.2015, 20:31
Re: weapon automatically removed with 0 ammo - by J4Rr3x - 14.04.2015, 20:47
Re: weapon automatically removed with 0 ammo - by Kar - 15.04.2015, 00:44
Re: weapon automatically removed with 0 ammo - by J4Rr3x - 15.04.2015, 13:23

Forum Jump:


Users browsing this thread: 1 Guest(s)