Neon lights problem - 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: Neon lights problem (
/showthread.php?tid=598884)
Neon lights problem -
ShoortyFl - 18.01.2016
I have a problem, with neon lights, it puts them in the ground and i've checked codes from few scripts and still getting this:
http://i.imgur.com/8d4eeaH.jpg
and this are the codes:
pawn Код:
VInfo[v][Neonke1] = CreateObject(18648,0,0,0,0,0,0);
VInfo[v][Neonke2] = CreateObject(18648,0,0,0,0,0,0);
AttachObjectToVehicle(VInfo[v][Neonke1], vehid, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0 );
AttachObjectToVehicle(VInfo[v][Neonke2], vehid, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0 );
Re: Neon lights problem -
TwinkiDaBoss - 18.01.2016
PHP код:
AttachObjectToVehicle(VInfo[v][Neonke1], vehid, -0.8, 0.0, -0.40, 0.0, 0.0, 0.0 );
AttachObjectToVehicle(VInfo[v][Neonke2], vehid, 0.8, 0.0, -0.40, 0.0, 0.0, 0.0 );
Try this
Re: Neon lights problem -
ShoortyFl - 18.01.2016
now you cant even see them
Re: Neon lights problem -
PrO.GameR - 18.01.2016
-0.70 this is the Z offset, try highering it a little bit till you are satisfied with the pos ( try -0.60 to start, then higher it as long as they are near ground.)