function
getPlayerWeaponMode (server-side)
Available since version: 0.0.1
This function will get the player/npc weapon mode.
Declaration
int getPlayerWeaponMode(int id)
Parameters
int
id: the player id.
Returns int
the player weaponMode or null
if player isn't created, for more information see Weapon mode constants.