• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Start the engine of an npc?
#4
(2021-04-07, 02:24 AM)Pinch Wrote:
(2021-04-06, 04:01 AM)PutuSuhartawan Wrote: is function GetVehicleParamsEx stock exist? https://www.youtube.com/watch?v=_H7p6IrpaiY

This man's English took programming too seriously.



Try

Code:
helicoptero1 = AddStaticVehicle(487,-2102.1294,-2237.8005,30.6250,142.4440,0,137);

?

GetVehicleParamsEx(helicoptero1,engine, lights, alarm, doors, bonnet, boot, objective);

SetVehicleParamsEx(helicoptero1, VEHICLE_PARAMS_ON, lights, alarm, bonnet, boot, objective);



Fixed! thank you
  Reply


Messages In This Thread
Start the engine of an npc? - by Boxi - 2021-04-05, 09:52 PM
RE: Start the engine of an npc? - by Pinch - 2021-04-07, 02:24 AM
RE: Start the engine of an npc? - by Boxi - 2021-04-07, 01:38 PM

Forum Jump: