16.07.2012, 20:36
change
if(!IsPlayerInAnyVehicle(playerid)){
to
if(newstate != PLAYER_STATE_DRIVER){
and change
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
to
if(newstate == PLAYER_STATE_DRIVER)
I assume that you only want the driver to see the textdraw.
if(!IsPlayerInAnyVehicle(playerid)){
to
if(newstate != PLAYER_STATE_DRIVER){
and change
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
to
if(newstate == PLAYER_STATE_DRIVER)
I assume that you only want the driver to see the textdraw.

