SA-MP Forums Archive
Vehicle doors closed - No get in! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vehicle doors closed - No get in! (/showthread.php?tid=158082)



Vehicle doors closed - No get in! - 4#Future - 08.07.2010

Hey Guys,

I have a litte problem with the cardoors.
If I wan't to get in a vehicle which doors, I have to stand bevor the car and do not get in the car.

But how I can script this as simple?
Respectively, how I can stop the animation the player tries to open the door?

And the other side is, how I can lock the vehicle doors?
"SetVehicleParamsForPlayer" isn't working as well.

Please, I need your help!


Thanks - 4#Future


Re: Vehicle doors closed - No get in! - Karlip - 08.07.2010

It's a SA-MP bug.


AW: Vehicle doors closed - No get in! - 4#Future - 08.07.2010

Ok...

but how I can lock the doors, now?
And how I can stop any animations immediately?

There have to some options, because some server have this features.


Re: Vehicle doors closed - No get in! - CAR - 08.07.2010

You must SetVehicleParamsForPlayer at OnVehicleStreamIn or it will not work!


Re: Vehicle doors closed - No get in! - Cameltoe - 08.07.2010

To stop animation do:
ClearAnimations(playerid);


AW: Re: Vehicle doors closed - No get in! - 4#Future - 08.07.2010

Quote:
Originally Posted by CAR
Посмотреть сообщение
You must SetVehicleParamsForPlayer at OnVehicleStreamIn or it will not work!
It works perfect!

Thanks CAR! It was really important for me.

Okay I fixed this problem...