SA-MP Forums Archive
Errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors (/showthread.php?tid=485796)



Errors - PakPak - 05.01.2014

pawn Код:
new object_data_status[6];

new object_data_instance[6];

new object_data_id[6][2] = {

    {1495,1},
    {1495,1},
    {1495,1},
    {19302,1},
    {19302,1},
    {968,1},
    {3055,1}
};

new object_anim[6] = {

    0,
    0,
    0,
    0,
    0,
    0,
    0
};

new Float:object_data[6][7] = {

    {-1642.6500200,703.3599900,1000.7999900,    0.0000000,0.0000000,90.0000000,3.5},
    {-1647.7537800,689.2883900,1007.7600100,    0.0000000,0.0000000,90.0000000,3.5},
    {-1647.7900400,703.5999800,1007.7600100,    0.0000000,0.0000000,-90.0000000,3.5},
    {-1647.7099600,701.5900300,1002.0200200,    0.0000000,0.0000000,0.0000000,1.5},
    {-1654.0200200,701.6400100,1002.0200200,    0.0000000,0.0000000,0.0000000,1.5},
    {1544.7092300,-1630.8281300,13.1065000,     0.0000000,90.0000000,90.0000000,10.0},
    {1588.5000000,-1637.9000200,14.6000000,     0.0000000,0.0000000,0.0000000,10.0}
};

new Float:object_open_data[6][6] = {

    {-1642.6500200,702.0400,1000.7999900,0.0000000,0.0000000,90.0000000},
    {-1647.7537800,687.9484,1007.7600100,0.0000000,0.0000000,90.0000000},
    {-1647.7900400,704.8800,1007.7600100,0.0000000,0.0000000,-90.0000000},
    {-1648.7472,701.5900300,1002.0200200,0.0000000,0.0000000,0.0000000},
    {-1655.1404,701.6400100,1002.0200200,0.0000000,0.0000000,0.0000000},
    {1544.7092300,-1630.8281300,13.1065000,0.0000000,0.0000000,90.0000000},
    {1596.4400,-1637.9000200,14.6000000,0.0000000,0.0000000,0.0000000}

};
Код:
C:\Users\Jonathan\Desktop\MyRP\gamemodes\MyRP.pwn(191) : error 001: expected token: ";", but found "{"
C:\Users\Jonathan\Desktop\MyRP\gamemodes\MyRP.pwn(192) : error 010: invalid function or declaration
C:\Users\Jonathan\Desktop\MyRP\gamemodes\MyRP.pwn(213) : error 001: expected token: ";", but found "{"
C:\Users\Jonathan\Desktop\MyRP\gamemodes\MyRP.pwn(214) : error 010: invalid function or declaration
C:\Users\Jonathan\Desktop\MyRP\gamemodes\MyRP.pwn(224) : error 001: expected token: ";", but found "{"
C:\Users\Jonathan\Desktop\MyRP\gamemodes\MyRP.pwn(226) : error 054: unmatched closing brace ("}")
C:\Users\Jonathan\Desktop\MyRP\gamemodes\MyRP.pwn(226) : error 010: invalid function or declaration
I got those errors, and I don't why can anyone help me, thanks in advance.


Re : Errors - PakPak - 05.01.2014

My bad, solved.