SA-MP Forums Archive
Need help with 2 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: Need help with 2 errors. (/showthread.php?tid=367379)



Need help with 2 errors. - Strech - 09.08.2012

pawn Код:
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
Both are on line
pawn Код:
SetPlayerCheckpoint(playerid, GetPVarFloat(playerid, "DYN_Boombox_FLOAT_X"), GetPVarFloat(playerid, "DYN_Boombox_FLOAT_Y"), GetPVarFloat(playerid, "DYN_Boombox_FLOAT_Z",3.0)))



Re: Need help with 2 errors. - FalconX - 09.08.2012

Quote:
Originally Posted by Strech
Посмотреть сообщение
pawn Код:
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
Both are on line
pawn Код:
SetPlayerCheckpoint(playerid, GetPVarFloat(playerid, "DYN_Boombox_FLOAT_X"), GetPVarFloat(playerid, "DYN_Boombox_FLOAT_Y"), GetPVarFloat(playerid, "DYN_Boombox_FLOAT_Z",3.0)) // it needs only ONE bracket not 2..
Hope this helps.