SA-MP Forums Archive
car lights question - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: car lights question (/showthread.php?tid=185082)



car lights question - speediekiller2 - 23.10.2010

hi all,

i have 1 question to you all,
how can i make the cars with lights on and off with commands so i use 2 the lights go on and later i use 2 and the lights go off.

can you all help me thnx for looking and helping,

Speediekiller2


Re: car lights question - iJumbo - 23.10.2010

i dont understand what u mean lol


Re: car lights question - speediekiller2 - 23.10.2010

with key 2 than i use the lighst you understand


Re: car lights question - iJumbo - 23.10.2010

use onplayerkeystatechange and search here for the "2" key then make a variable like if(light == 1) < is on so when press the light go off and else if 0 get lights on


Re: car lights question - speediekiller2 - 24.10.2010

but can anyone give me a pawn script of this?


Re: car lights question - boelie - 24.10.2010

check this out..download it and you will find what you need
http://forum.sa-mp.com/showthread.ph...=vehicle+alarm