[HELP] Weapon ammo out...
#7

Quote:
Originally Posted by [___
Whitetiger [www.sampcommunity.com] ]
Код:
new tmp = GetPlayerWeaponState(playerd);
if(tmp == WEAPONSTATE_NO_BULLETS) {
  //player has no ammo
}

//https://sampwiki.blast.hk/wiki/GetPlayerWeaponState
Like this?
pawn Код:
new tmp = GetPlayerWeaponState(playerid);
if(tmp == WEAPONSTATE_NO_BULLETS) {
  if(tmp == 4){PlayerInfo[playerid][psomething]=0;}//???
}
but where i added it?
Reply


Messages In This Thread
[HELP] Weapon ammo out... - by whitedragon - 27.04.2010, 16:32
Re: [HELP] Weapon ammo out... - by -Rebel Son- - 27.04.2010, 16:49
Re: [HELP] Weapon ammo out... - by dice7 - 27.04.2010, 17:11
Re: [HELP] Weapon ammo out... - by whitedragon - 28.04.2010, 06:15
Re: [HELP] Weapon ammo out... - by MafiaGuy™ - 28.04.2010, 06:25
Re: [HELP] Weapon ammo out... - by Whitetiger - 28.04.2010, 06:36
Re: [HELP] Weapon ammo out... - by whitedragon - 28.04.2010, 06:42
Re: [HELP] Weapon ammo out... - by RyDeR` - 28.04.2010, 10:47

Forum Jump:


Users browsing this thread: 1 Guest(s)