28.04.2010, 06:42
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
|
pawn Код:
new tmp = GetPlayerWeaponState(playerid);
if(tmp == WEAPONSTATE_NO_BULLETS) {
if(tmp == 4){PlayerInfo[playerid][psomething]=0;}//???
}

