SA-MP Forums Archive
What did i do wrong? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What did i do wrong? (/showthread.php?tid=243416)



What did i do wrong? - Rokzlive - 23.03.2011

Its all fixed thanks to [L3th4l]. Hes a good guy and helped me alot. Thanks [L3th4l]!


Re: What did i do wrong? - s0nic - 23.03.2011

All those errors might come from the comma you missed here:
pawn Код:
Float:PosL[4]//1684
So..it would be:
pawn Код:
new//1678
        String[512],//1679
        ModelL,//7680
        CL[2],//1681
        PriceL,//1682
        OwnerL[MAX_PLAYER_NAME],//1683
        Float:PosL[4],//1684
        ID,//1685
        PlateNumL[32];//1686
EDIT:
Also whats up with these two lines?:
pawn Код:
vehicledata[ID][Owner] = OwnerL, 0, 24, 24);//1700
..
vehicledata[ID][Plate] = PlateNumL, 0, 32, 32);//1705
Whats the need for " ); " if theres no starting " ( "


Re: What did i do wrong? - Rokzlive - 23.03.2011

Someone on xfire is helping me, but yes over 16 came from that missing comma.


Re: What did i do wrong? - PinkFloydLover - 23.03.2011

A simple mistake can screw up your entire script.

pawn Код:
Cl[0]
that needs to be CL[0]
with capitals.


Re: What did i do wrong? - Rokzlive - 23.03.2011

Quote:
Originally Posted by Cale
Посмотреть сообщение
A simple mistake can screw up your entire script.

pawn Код:
Cl[0]
that needs to be CL[0]
with capitals.
Lol yeh, it was all Rookie mistakes. Im half awake so yeh, thats prob why.

EDIT: [L3th4l] fixed it. =D