noob vehicles (like Police cars...)
#5

Quote:
Originally Posted by Bible
Посмотреть сообщение
As far as I know checking a player's state doesn't work under OnPlayerKeyStateChange but under OnPlayerStateChange
You have to check if the player enters a vehicle AS a driver.

You have to check that under the callback OnPlayerStateChange.
pawn Код:
newstate == PLAYER_STATE_DRIVER
Then check if the player is a driver in one of the "NoobVehicles". If that's the case, raise his position on the Z-axis.
ok so how can i do it? can you give me example please? (im asking u cuz i answered the best answer)
Reply


Messages In This Thread
noob vehicles (like Police cars...) - by Lirbo - 04.06.2014, 16:57
Re: noob vehicles (like Police cars...) - by Vince - 04.06.2014, 17:00
Re: noob vehicles (like Police cars...) - by AndySedeyn - 04.06.2014, 17:02
Re: noob vehicles (like Police cars...) - by Jay_Dixon - 04.06.2014, 17:02
Re: noob vehicles (like Police cars...) - by Lirbo - 04.06.2014, 17:11
Re: noob vehicles (like Police cars...) - by AndySedeyn - 04.06.2014, 17:17

Forum Jump:


Users browsing this thread: 1 Guest(s)