[BUG]Horn stays on when turning alarm off
#1

When I turn my alarm off while in car, the horn keeps on going. It stops when I step out of the car.
Reply
#2

Can't confirm this. Could you post the code you use to turn the alarm on/off ?
Reply
#3

I've tested a lot with the alarm function, have found another kind of bug but never noticed this one.
Reply
#4

alright the code to turn it on and off:

Код:
AlarmOn(vehicleid)
{
        new engine,lights,alarm,doors,bonnet,boot,objective;
        GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
        SetVehicleParamsEx(vehicleid,engine,lights,1,doors,bonnet,boot,objective);
}

AlarmOff(vehicleid)
{
        new engine,lights,alarm,doors,bonnet,boot,objective;
        GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
        SetVehicleParamsEx(vehicleid,engine,lights,0,doors,bonnet,boot,objective);
}
Reply
#5

Quote:
Originally Posted by Geso
Посмотреть сообщение
alright the code to turn it on and off:

Код:
AlarmOn(vehicleid)
{
        new engine,lights,alarm,doors,bonnet,boot,objective;
        GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
        SetVehicleParamsEx(vehicleid,engine,lights,1,doors,bonnet,boot,objective);
}

AlarmOff(vehicleid)
{
        new engine,lights,alarm,doors,bonnet,boot,objective;
        GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
        SetVehicleParamsEx(vehicleid,engine,lights,0,doors,bonnet,boot,objective);
}
I tested this code, didn't find any problems at all.
Which vehicle did you use?
Reply
#6

Quote:
Originally Posted by DVDK
Посмотреть сообщение
I tested this code, didn't find any problems at all.
Which vehicle did you use?
Elegant, I'll try another one to make sure
Reply
#7

Dangit, now my SA won't start, guess it's RC2

UPDATE:

Confirming this is not a problem at an Infernus i.e., so far I've only seen it when using an Elegant.
Reply
#8

Quote:
Originally Posted by Geso
Посмотреть сообщение
Dangit, now my SA won't start, guess it's RC2

UPDATE:

Confirming this is not a problem at an Infernus i.e., so far I've only seen it when using an Elegant.
I've tested it, also here didn't found any problems.
Reply
#9

Ill try again and make a vid
Reply
#10

Hmm, problem didn't show up this time :/, anyways, if I ever see something similar again, I'll let you know...
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)