errors
#2

GetPlayerWeaponData passes the weapon and ammo from each slot by reference.

pawn Код:
new
    weaponid,
    ammo
;
GetPlayerWeaponData( playerid, 7, weaponid, ammo );
if( weaponid == 36 ) ResetPlayerWeapons( playerid );
Fist is by default, so no need to give it.
Reply


Messages In This Thread
errors - by Pranesh - 24.09.2013, 12:57
Re: errors - by Konstantinos - 24.09.2013, 13:30

Forum Jump:


Users browsing this thread: 1 Guest(s)