[BUG]Horn stays on when turning alarm off
#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


Messages In This Thread
[BUG]Horn stays on when turning alarm off - by Geso - 29.11.2010, 16:49
Re: [BUG]Horn stays on when turning alarm off - by BloodyEric - 29.11.2010, 16:53
Re: [BUG]Horn stays on when turning alarm off - by DVDK - 29.11.2010, 17:10
Re: [BUG]Horn stays on when turning alarm off - by Geso - 30.11.2010, 12:14
Re: [BUG]Horn stays on when turning alarm off - by DVDK - 30.11.2010, 12:27
Re: [BUG]Horn stays on when turning alarm off - by Geso - 30.11.2010, 12:35
Re: [BUG]Horn stays on when turning alarm off - by Geso - 30.11.2010, 12:40
Re: [BUG]Horn stays on when turning alarm off - by DVDK - 30.11.2010, 13:05
Re: [BUG]Horn stays on when turning alarm off - by Geso - 30.11.2010, 13:51
Re: [BUG]Horn stays on when turning alarm off - by Geso - 30.11.2010, 13:56

Forum Jump:


Users browsing this thread: 1 Guest(s)