Posts: 1,008
Threads: 19
Joined: Sep 2007
Reputation:
0
I'm tired, bored, and stressed...
I can't think in anything and i'm not leaving it until i do this.
Is there anyway to get the old state and sets a new state for the player? Something like GetPlayerState == PLAYER_STATE_DRIVER and then SetPlayerState == PLAYER_STATE_PASSENGER?
Thanks in advance.
Posts: 351
Threads: 43
Joined: Jan 2010
Reputation:
0
i'm sure it's possible, try something with onplayerentervehicle, i think there's a setplayerseat function, but i'm not sure
Posts: 1,008
Threads: 19
Joined: Sep 2007
Reputation:
0
Yeah yeah, i tryed it before i post. But i need something like when i'm a driver and then when i leave the vehicle i'm automaticly changed to passenger. And i need too something like changing from driver to foot without the removeplayerfromvehicle.
Posts: 1,008
Threads: 19
Joined: Sep 2007
Reputation:
0
About the 1st one i was totaly blind. Thanks. But the one about when player exits the vehicle, is there any way to do it without using RemovePlayerFromVehicle?
Posts: 351
Threads: 43
Joined: Jan 2010
Reputation:
0
i don't get what you want
Posts: 351
Threads: 43
Joined: Jan 2010
Reputation:
0
yea it's surely possible, because a few ago i got a bug with a fucked up FS, which made me quit the car without anims, and on the side. lol i just don't know how to do so
Posts: 167
Threads: 0
Joined: Aug 2009
Reputation:
0
Use GetPlayerPos and SetPlayerPos