27.12.2010, 00:50
I bet it'd work. But isn't that what really I thought would happen. Automatically when a player enter in a vehicle, player state is changed for, according that:
And my idea would be remove player from vehicle without change player state for the "4" (player exits a vehicle). And since the player weren't removed, it'd be like if the player would be on the vehicle still. A soluction would be "SetPlayerState", since does exists "GetPlayerState". But I dont know if it does exists, or if is there a stock/function =S
Код:
4 Player exits a vehicle 5 Player enters a vehicle as driver 6 Player enters a vehicle as passenger