SA-MP Forums Archive
[Ajuda] Alarme carro piscando e buzinando - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Alarme carro piscando e buzinando (/showthread.php?tid=477636)



Alarme carro piscando e buzinando - maikons - 25.11.2013

Tem servidores que tem alarmes nos carros e se vc entra nele com alarme acontece algumas coisas que eu vou fazer, o que eu quero fazer eu sei, mas nгo sei como faz pra se tiver com alarme ao entrar no carro fica o carro buzinando e ligando e desligando o farol, como isso? fica o tempo todo fazendo isso se tiver alguem dentro


Re: Alarme carro piscando e buzinando - Ley - 25.11.2013

Irб lhe ajudar: SetVehicleParamsEx.


Re: Alarme carro piscando e buzinando - maikons - 25.11.2013

Sу consegui ligar o farol uma vez qnd entra, queria q fica-se piscando e buzinando, buzinando n achei como!


Respuesta: Re: Alarme carro piscando e buzinando - cantiliano - 25.11.2013

Код:
				new Car = GetPlayerVehicleID( playerid  ) ;
				new engine, lights, alarm, doors, bonnet, boot, objective;
				GetVehicleParamsEx(Car, engine, lights, alarm, doors, bonnet, boot, objective ) ;
				SetVehicleParamsEx(Car, engine, lights, VEHICLE_PARAMS_OFF, doors, bonnet, boot, objective ) ;