26.12.2012, 15:29
pawn Код:
for(new id = 1;id < sizeof(MAX_ATM);id++) // <= ERROR
{
format(string2, sizeof(string2), ATMPATH, id);
INI_ParseFile(string2, "loadatm_%s", bExtra = true, extra = id );
ATMInfo[id][AtmPickup] = CreateDynamicPickup(1239, 1, ATMInfo[id][PosX], ATMInfo[id][PosY], ATMInfo[id][PosZ], 0);
format(string2, sizeof(string2), "[ID: %d]\nGunakan /atm untuk membuka menu ATM", id);
ATMInfo[id][AtmText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, ATMInfo[id][PosX], ATMInfo[id][PosY], ATMInfo[id][PosZ]+0.5,30.0, .testlos = 1, .streamdistance = 30.0);
}