18.03.2015, 00:25
Quote:
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. |