Posts: 445
Threads: 96
Joined: Jan 2011
Reputation:
0
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
Posts: 2,203
Threads: 154
Joined: Oct 2009
Reputation:
0
you get player vehicle id,set player vehicle pos to teleport coordinates and put player in vehicle...simple as that xD
Posts: 445
Threads: 96
Joined: Jan 2011
Reputation:
0
ye i posted it then i did it xD i should think before positing
Posts: 1,506
Threads: 69
Joined: Feb 2008
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.
Posts: 1,501
Threads: 19
Joined: Nov 2007
Reputation:
0
You actually don't have to put the player in it if he's already in it. Just change the position.
Edit: Too slow.