Skip to content

function getPlayerWeaponMode (client-side)

Available since version: 0.0.1

This function will get the player/npc weapon mode.

Declaration

int|null getPlayerWeaponMode(int id)

Parameters

  • int id: the player id.

Returns int|null

weaponMode or null if player isn't spawned, for more information see Weapon mode constants.