Speedo
#4

Quote:
Originally Posted by Abagail
Посмотреть сообщение
You shouldn't solely rely on the player changing from PLAYER_STATE_DRIVER to PLAYER_STATE_ONFOOT. For instance, what if someone dies while in a vehicle? Their new state certainly won't be onfoot but PLAYER_STATE_WASTED.

The simplest answer would be to when updating the textdraw, check if they are still driving a vehicle.
Well, that's done when updating the speedometer's info, so there isn't really something to worry about.
Reply


Messages In This Thread
Speedo - by MrCallum - 17.03.2015, 22:33
Re: Speedo - by SickAttack - 18.03.2015, 00:01
Re: Speedo - by Abagail - 18.03.2015, 00:22
Re: Speedo - by SickAttack - 18.03.2015, 00:25

Forum Jump:


Users browsing this thread: 1 Guest(s)