[Ajuda] Luzes ligam automaticamente, motores nгo?
#1

Bom dia pessoal.

Alguйm conhece alguma forma de fazer com que as luzes dos carros liguem automaticamente, porйm os motores fiquem desligados?

Eu poderia usar a funзгo ManualVehicleEngineAndLights() para fazer com que os motores nгo liguem automaticamente, mas daн as luzes nгo ligam.

Enfim, sabem alguma forma?
Reply
#2

PHP код:
SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
http://wiki.sa-mp.com/wiki/SetVehicleParamsEx
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_ON, alarm, doors, bonnet, boot, objective); 
Reply
#3

Usa um SetTimer e com o gettime vocк liga os farуis conforme for a hora
Reply
#4

Quote:
Originally Posted by thejimmy
Посмотреть сообщение
PHP код:
SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
http://wiki.sa-mp.com/wiki/SetVehicleParamsEx
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_ON, alarm, doors, bonnet, boot, objective); 
Vou dar uma olhada nisso depois. Thanks

Quote:
Originally Posted by Adiiti
Посмотреть сообщение
Usa um SetTimer e com o gettime vocк liga os farуis conforme for a hora
Й uma boa ideia. Thx.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)