Skip to content

function getPlayerReadiedWeapon (client-side)

Available since version: 0.2

This function will get player readied (drawn) weapon.

Declaration

Item|null getPlayerReadiedWeapon(int id)

Parameters

  • int id: the player id.

Returns Item|null

the item object. For more information see Item class.