07.05.2012, 12:19
pawn Код:
SetTimer("pezona",500, true);
forward pezona();
public pezona()
{
for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
{
for(new i=0; i<sizeof(ZoneInfo); i++)
{
if(IsPlayerInZone(playerid, i) && ZoneInfo[i][zTeam] == 12)
{
GameTextForPlayer(playerid, "bla bla",5000, 1);
return 1;
}
else if(IsPlayerInZone(playerid, i) && ZoneInfo[i][zTeam] == 13)
{
GameTextForPlayer(playerid, "bla bla",5000, 1);
return 1;
}
else if(IsPlayerInZone(playerid, i) && ZoneInfo[i][zTeam] == 14)
{
GameTextForPlayer(playerid, "bla bla",5000, 1);
return 1;
}
else if(IsPlayerInZone(playerid, i) && ZoneInfo[i][zTeam] == 15)
{
GameTextForPlayer(playerid, "bla bla",5000, 1);
return 1;
}
}
}
return 1;// hйhй
}