SA-MP Forums Archive
Vehicle State - 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: Vehicle State (/showthread.php?tid=511162)



Vehicle State - arjanforgames - 04.05.2014

Hey I'm using ARNPC (https://sampforum.blast.hk/showthread.php?tid=412666)

And I want to use this method: native SetRNPCVehicleSiren(npcid,vstate)
What do I have to enter as vstate?

Thanks


Re: Vehicle State - [WSF]ThA_Devil - 04.05.2014

I am not sure, It might be either 1 or 0 for on and off or true / false;
take a try, and see what happens.


Re: Vehicle State - arjanforgames - 04.05.2014

Thanks for the quick answer.
Although I'm going to use FCNPC instead of RNPC. I saw some functions, which are important for me, don't even work, as they are not implemented. lol.


Re: Vehicle State - [WSF]ThA_Devil - 04.05.2014

Good luck with NPCS.
For me, I avoid using them in general, because they're pain in the ass.
If I do want to make some NPC's I use good old gl_record or what that script was named