[BUG]Horn stays on when turning alarm off -
Geso - 29.11.2010
When I turn my alarm off while in car, the horn keeps on going. It stops when I step out of the car.
Re: [BUG]Horn stays on when turning alarm off -
BloodyEric - 29.11.2010
Can't confirm this. Could you post the code you use to turn the alarm on/off ?
Re: [BUG]Horn stays on when turning alarm off -
DVDK - 29.11.2010
I've tested a lot with the alarm function, have found another kind of bug but never noticed this one.
Re: [BUG]Horn stays on when turning alarm off -
Geso - 30.11.2010
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);
}
Re: [BUG]Horn stays on when turning alarm off -
DVDK - 30.11.2010
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?
Re: [BUG]Horn stays on when turning alarm off -
Geso - 30.11.2010
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
Re: [BUG]Horn stays on when turning alarm off -
Geso - 30.11.2010
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.
Re: [BUG]Horn stays on when turning alarm off -
DVDK - 30.11.2010
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.
Re: [BUG]Horn stays on when turning alarm off -
Geso - 30.11.2010
Ill try again and make a vid
Re: [BUG]Horn stays on when turning alarm off -
Geso - 30.11.2010
Hmm, problem didn't show up this time :/, anyways, if I ever see something similar again, I'll let you know...