SA-MP Forums Archive
Cant Compile.. Anyone help - 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: Cant Compile.. Anyone help (/showthread.php?tid=609783)



Cant Compile.. Anyone help - Uvais - 16.06.2016

Code:
C:\Users\Not\Desktop\project\gamemodes\rp.pwn(36819) : error 001: expected token: ",", but found "-rational value-"
C:\Users\Not\Desktop\project\gamemodes\rp.pwn(36819) : warning 215: expression has no effect
C:\Users\Not\Desktop\project\gamemodes\rp.pwn(36819) : error 001: expected token: ";", but found ")"
C:\Users\Not\Desktop\project\gamemodes\rp.pwn(36819) : error 029: invalid expression, assumed zero
C:\Users\Not\Desktop\project\gamemodes\rp.pwn(36819) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Like 36819:
Code:
SetVehiclePos(tmpcar, 2196.24 -1203.73 1049.02);



Re: Cant Compile.. Anyone help - Konstantinos - 16.06.2016

You forgot to separate the parameters:
Code:
SetVehiclePos(tmpcar, 2196.24, -1203.73, 1049.02);



Re: Cant Compile.. Anyone help - Uvais - 16.06.2016

Thanks man.. Im seriously blind lol... xD