Error Script
#1

Hi all, I tried to make Dynamic ATM System with Y_INI saving system.
But I get this error
pawn Код:
C:\Users\ariefkyano\Desktop\Test RP\gamemodes\Respect4.pwn(18903) : error 020: invalid symbol name ""
C:\Users\ariefkyano\Desktop\Test RP\gamemodes\Respect4.pwn(18903) : error 036: empty statement
C:\Users\ariefkyano\Desktop\Test RP\gamemodes\Respect4.pwn(18903) : error 017: undefined symbol "id"
C:\Users\ariefkyano\Desktop\Test RP\gamemodes\Respect4.pwn(18903) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
This is the code:
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);
    }
I dont know whats wrong with that line, please help
Reply


Messages In This Thread
Error Script - by RenovanZ - 26.12.2012, 15:11
Re: Error Script - by LarzI - 26.12.2012, 15:25
Re : Error Script - by [HRD]Mar1 - 26.12.2012, 15:29
Re: Error Script - by RenovanZ - 26.12.2012, 15:29
Re: Re : Error Script - by RenovanZ - 26.12.2012, 15:32
Re : Error Script - by [HRD]Mar1 - 26.12.2012, 15:37
Re: Re : Error Script - by RenovanZ - 26.12.2012, 15:39
Re: Re : Error Script - by RenovanZ - 26.12.2012, 15:55
Re : Error Script - by [HRD]Mar1 - 26.12.2012, 16:00
Re: Error Script - by RenovanZ - 26.12.2012, 16:02

Forum Jump:


Users browsing this thread: 1 Guest(s)