AMX Mod X API Documentation

Signature
native cs_get_user_mapzones(index);
Description

Returns the map zones the client is inside of as a bitflag value.

Notes
  • If the user does not have the ability to plant (cs_get_user_plant()

    returns 0) then the bitflag will not contain CS_MAPZONE_BOMBTARGET.

Parameters
  • index Client index
Returns

Bitflag value of map zones

Errors
  • If the client index is not within the range of 1 to

    MaxClients, or the client is not connected, an error will be

    thrown.

Назад
Верх