29.01.2014, 10:05
Quote:
|
I would really like to know, in which cases exactly are those random functions useful.
|
Few examples:
- CountPlayersInDynamicArea can be used in a Gang Base War, so you will know how many players are in that war.
* CountPlayersInAnyDynamicArea I don't see any use, but I don't see any use for IsAnyPlayerInAnyDynamicArea too, but it was still added, I think CountPlayersInAnyDynamicArea could be more useful than IsAnyPlayerInAnyDynamicArea.
- GetPlayersInDynamicArea could be used to get every player from that Gang Base War area, so you could list them.
* I don't see any use for GetPlayerDynamicAreas too, but maybe someone will find.
Every function can be useful for at least 1 server owner, if it is, then it's a "win".
----
I don't know if it's possible GetRandomPosInDynamicArea in a polygon.
EDIT:
just use
pawn Код:
IsPlayerInDynamicArea( playerid, 1 );
pawn Код:
IsPlayerInDynamicArea( playerid, 2 );
pawn Код:
IsPlayerInDynamicArea( playerid, -1 );


