Alarm in SetVehicleParamsEx
#1

What does the alarm variable function do?
Код:
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
Reply
#2

Sorry, wrong thread.
Reply
#3

Makes the single-player-car alarm-things. The lights will flash and there will be a sound coming from the car.
Reply
#4

Like the EMS mod then? Okay, thanks!
Reply
#5

Quote:
Originally Posted by BloodyEric
Посмотреть сообщение
Makes the single-player-car alarm-things. The lights will flash and there will be a sound coming from the car.
For an unknown reason, car lights don't flash when alarm is active :/

I'm using the Manual mode in OnGameModeInit

Maybe this can be fixed?

Feedback
Reply
#6

I just tested it, if Manual mode is used there are no lights flashing, otherwise they work fine.
Reply
#7

Quote:
Originally Posted by BloodyEric
Посмотреть сообщение
I just tested it, if Manual mode is used there are no lights flashing, otherwise they work fine.
Engine must be on first, and there has to be somebody driving it.
Reply
#8

Manual mode was on, Engine was on, I was the driver and there still was only the noise but not the light.
Reply
#9

Then also put the lights on.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)