native cs_get_user_weapon_entity(playerIndex);
playerIndex | Player index |
Returns active weapon entity.
Weapon entity index on success or 0 if there is no active weapon
If the client index is not within the range of 1 to maxClients, or the client is not connected, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.