This function was added in SA-MP 0.3a and will not work in earlier versions!
Check the state of a player's weapon.
|playerid||The ID of the player to obtain the weapon state of.|
The state of the player's weapon. 0 if player specified does not exist.
SetPVarInt(playerid, "WepState", GetPlayerWeaponState(playerid));
- GivePlayerWeapon: Give a player a weapon.