Skip to content

function getPlayerReadiedWeapon (client-side)

Available since version: 0.2

This function will get player readied (drawn) weapon.

Declaration

int getPlayerReadiedWeapon(int id)

Parameters

  • int id: the player id.

Returns int

the itemId of the drawn weapon.