17.08.2012, 10:24
Why this stock makes compiler crashing?
Код:
stock OnAutoOmanik(playerid) { foreach(x, MAX_HOUSESPERPLAYER) { if(APlayerData[playerid][Houses][x] != 0) { foreach(i, 10) { new autoid = GetPlayerVehicleID(playerid); if(AHouseData[x][VehicleIDs][i] == autoid) { return 1; } } } return 0; }