29.01.2014, 08:09
Quote:
A suggestion:
pawn Код:
|
pawn Код:
native GetRandomPlayerInDynamicArea( areaid ); // returns the ID of one of the players in areaid
native GetRandomPlayerInAnyDynamicArea( ); // returns the ID of one of the players in any area
native CountPlayersInDynamicArea( areaid ); // returns the number of players in areaid
native CountPlayersInAnyDynamicArea( ); // returns the number of players in any area
native GetPlayersInDynamicArea( areaid, players[ ] ); // fills players[ ] with the IDs of all players which are in areaid
native GetPlayersInAnyDynamicArea( players[ ] ); // fills players[ ] with the IDs of all players which are in any area
native GetPlayerDynamicAreas( playerid, areas[ ] ); // fills areas[ ] with the IDs of all dynamic areas in which is the player