Help with car functions.
#1

Hi SA-MP Comunity!

I will explain you what I want to do. When somebody gets in a vehicle, and I use TogglePlayerControlable(0) at OnPlayerEnterVehicle, he just cant move, but the motor sound is activated. I want to make an engine system that, when somebody gets in a vehicle, the motor doesnt run. I've been thinking in, when the player gets in, if Motor = 0; (Not running), then SetCameraLookAt the vehicle, and RemovePlayerFromVehicle, then player goes to his position - 100 (Z), and TogglePlayerControlable(0), so when he gets in, he cant just see the car, he is underground, he cant move and of course, doesnt listen to the motor because he isnt inside the car, but he can just see it.. How can I make this?

I will realy appreciate if you can help me
Maybe there is a function that lets the player get in the car but the car doesnt run...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)