15.10.2011, 12:52
Код:
for(new i = 0; i < MAX_PLAYERS; ++i) { if(IsPlayerConnected(i)) { for(new h =0; h < MAX_GZS; h++) { if(IsPlayerInArea(i,checkGzs[h][0],checkGzs[h][1],checkGzs[h][2],checkGzs[h][3])) { if(GZ_EXISTE[gzsids[h]][0] == 1) { TextDrawSetString(areaGangZona,"Ta dominado"); TextDrawShowForPlayer(i,areaGangZona); } else { TextDrawSetString(areaGangZona,"Ninguem dominou"); TextDrawShowForPlayer(i,areaGangZona); } } else { TextDrawHideForPlayer(i,areaGangZona); } } } }