[Pawn] [SOLVED] How make function to turn on the vehicle lights blinks like siren alarm ? - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) --- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10) --- Thread: [Pawn] [SOLVED] How make function to turn on the vehicle lights blinks like siren alarm ? (/showthread.php?tid=1977) |
[SOLVED] How make function to turn on the vehicle lights blinks like siren alarm ? - PutuSuhartawan - 2021-05-04 SOLUTION: Code: public UpdateServer(playerid) Source Pawn :?Blinking Lights.pwn Tutorial :?Video Problem: function to turn on the vehicle lights so that it blinks like a siren someone intelligent has asked. but I only know the parameter toggle lights and also neon. how do you turn on the flashing lights without fluorescent? RE: HELP! How make function to turn on the vehicle lights blinks like siren alarm ? - Kwarde - 2021-05-07 I'm guessing you want to set a timer that switches the lights on and off; https://sampwiki.blast.hk/wiki/SetVehicleParamsEx Enabling the alarm would do the same thing but it would also trigger the alarm (horn) sound so you would want to avoid that. RE: HELP! How make function to turn on the vehicle lights blinks like siren alarm ? - PutuSuhartawan - 2021-05-07 (2021-05-07, 04:41 PM)Kwarde Wrote: I'm guessing you want to set a timer that switches the lights on and off; https://sampwiki.blast.hk/wiki/SetVehicleParamsEx sorry sir, I mean here the lights change right and left. not the two of them blinking at the same time sir. so how do you get the right light blinking with the left light? RE: HELP! How make function to turn on the vehicle lights blinks like siren alarm ? - Pinch - 2021-05-07 https://sampwiki.blast.hk/wiki/LightStates Update lights damage while the lights are enabled (via timer) RE: HELP! How make function to turn on the vehicle lights blinks like siren alarm ? - PutuSuhartawan - 2021-05-08 (2021-05-07, 08:11 PM)Pinch Wrote: https://sampwiki.blast.hk/wiki/LightStates Sir sorry, i need help if? ?i will use like this 4: (0000 0100) ? ? o-x ? ? | | ? ? o-o what is the parameter soon in this function sir? Solution: new Panels, Doors, Lights, Tires; GetVehicleDamageStatus(vehicleid, Panels, Doors, Lights, Tires); UpdateVehicleDamageStatus(vehicleid, Panels, Doors, (4), Tires); |