03.07.2013, 19:20
Код:
for(new h = 0; h < sizeof(GarageInfo); h++) (This is the number of garages on the server) { if(GarageInfo[h][gOwned] == 0 ) (This means how many of them are not owned on the server) { if(IsPlayerInRangeOfPoint(playerid,2.0,GarageInfo[h][gExteriorX], GarageInfo[h][gExteriorY], GarageInfo[h][gExteriorZ]) ) { } else { SendClientMessage(playerid, 0x33CCFFA, " You are not at a garage."); (SendClientMessage will be called many times because if you have 2 not owned garages on the server, than it will call it 2 times, if there are 100 garages not owned than it will call this 100 times) }

