30.05.2014, 21:12
example like this?
pawn Код:
public OnPlayerLeaveDynamicArea(playerid, areaid)
{
new players;
for (new i; i < MAX_PLAYERS; i++)
{
if (gTeam[i] != dini_Int(pFile(playerid),"nameoffaction")) players++;
{
//ocean
if(areaid == oceanRect)
{
UnderAttack[ocean] = 0;
capturedrecently[ocean] = 1;
GangZoneStopFlashForAll(Zone[ocean]);
KillTimer(timer[playerid][ocean]);
}