SA-MP Forums Archive
Negative usage - 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: Negative usage (/showthread.php?tid=616055)



Negative usage - AndreiWow - 30.08.2016

This works
Код:
CreateObject(2060,x,y+3,z, 0.0000, 0.0000, 0.0000);
but this doesnt, why?
Код:
CreateObject(2060,x,y-3,z, 0.0000, 0.0000, 0.0000);

check the 'y'


Re: Negative usage - Shinja - 30.08.2016

How don't work, doesn't appear ingame or what?


Re: Negative usage - SickAttack - 30.08.2016

Both should work, but how it is compiled, make that "+ 3", "+ 3.0".