Skip to content

function getPlayerWeaponMode (client-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

weaponMode. For more information see Weapon mode constants.