SA-MP Forums Archive
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: Help! (/showthread.php?tid=282183)



Help! - [MKD]Max - 09.09.2011

i got this car

swatcar4 = AddStaticVehicle(560, 769.8506, -1380.8865, 13.2000, -180.0000, 0,0);


now how i can add light ??!!!


light[vehicleid] = CreateObject(18646,x, y, z, 0.0, 0.0, 96.0);

what i add on x, y, z place


Re: Help! - =WoR=Varth - 09.09.2011

You want to turn on the lights?
https://sampwiki.blast.hk/wiki/SetVehicleParamsEx


Re: Help! - [MKD]Max - 09.09.2011

im not use the normal light i got script that thing like SPU like real cop light now how i can Put oBject in swatcar4 up there


Re: Help! - =WoR=Varth - 09.09.2011

https://sampwiki.blast.hk/wiki/AttachObjectToVehicle