Tutorial Request
#1

Hello,
I have tried searching for a Tutorial on how to add SAMP 0.3c Vehicle Controls, I found one before, But now I cant find it.
Reply
#2

https://sampwiki.blast.hk/wiki/SetVehicleParamsEx

https://sampwiki.blast.hk/wiki/GetVehicleParamsEx
Reply
#3

But the Wiki is Hard for me to understand
Reply
#4

You want to set the engine? make the /engine command then...

pawn Код:
new engine, lights, alarm, doors, bonnet, boot, objective;
new playervehicle = GetPlayerVehicleId(playerid);
GetVehicleParamsEx(playervehicle, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(playervehicle, true, lights, false, doors, bonnet, boot, objective);
When you make the engine into true in SetVehicleParamsEx it turns it on, false is off.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)