vehicle position
#1

He in a teleport im chcking if player is in a vehcile and i know how to set player postion but i want to know how to do it when the players in a car so he can take the car with him
Reply
#2

you get player vehicle id,set player vehicle pos to teleport coordinates and put player in vehicle...simple as that xD
Reply
#3

ye i posted it then i did it xD i should think before positing
Reply
#4

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
you get player vehicle id,set player vehicle pos to teleport coordinates and put player in vehicle...simple as that xD
If the player is in the vehicle, SetVehiclePos is enough, you don't have to SetPlayerPos or PutPlayerInVehicle.
Reply
#5

You actually don't have to put the player in it if he's already in it. Just change the position.

Edit: Too slow.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)