Speedo
#3

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.
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: 2 Guest(s)