15.10.2011, 21:44
pawn Код:
for(new carol = GetMaxPlayers(), i = 0; i != carol; ++i)
{
if(IsPlayerConnected(i))
{
for(new e; e != MAX_GZS; ++e)
{
if(isPlayerGangZone(i, checkGzs[e][0],checkGzs[e][1],checkGzs[e][2],checkGzs[e][3]))
{
new Text:areaGangZona;
areaGangZona = TextDrawSetString(areaGangZona,"agora foi");
TextDrawShowForPlayer(i, areaGangZona);
SendClientMessage(playerid,0x00c900ff,"saia");
printf("CAROL: %d | %d", i, e);
}
else
{
TextDrawHideForPlayer(i, areaGangZona);
printf("CAROL22: %d | %d", i, e);
}
}
}
}