It is possible to turn on lights of a car in day time? - 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: It is possible to turn on lights of a car in day time? (
/showthread.php?tid=268419)
It is possible to turn on lights of a car in day time? -
CTCCoco - 12.07.2011
It is possible to turn on lights of a car in day time?
I was trying to do it, but I don't know why it only works when I am not inside the car, I mean, I need to be outside to make it work, I'm not sure why.
Somebody can help me? Thanks.
Re: It is possible to turn on lights of a car in day time? -
Shadoww5 - 12.07.2011
Try:
PHP код:
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,engine,1,alarm,doors,bonnet,boot,objective);
Respuesta: Re: It is possible to turn on lights of a car in day time? -
CTCCoco - 12.07.2011
I tryed to do that, but I can turn on lights ONLY when I am outside the vehicle, you know what i mean?
I can't drive a car with the lights on (in the night yes)
Re: It is possible to turn on lights of a car in day time? -
WoodPecker - 12.07.2011
Well i think you cant use lights when its day, its work only when its night.
Re: It is possible to turn on lights of a car in day time? -
THE_KNOWN - 12.07.2011
you can. just make a cmd and try it out (it works for me :S )
Respuesta: Re: It is possible to turn on lights of a car in day time? -
CTCCoco - 12.07.2011
Thanks for all, but you tryed to drive the car?
Maybe it's a problem in my gamemode.