12.01.2013, 21:43
Nice Release
much better you use OnPlayerStateChange to avoid "textdraw hiding bug"
much better you use OnPlayerStateChange to avoid "textdraw hiding bug"
pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
//Show Textdraw Here
}
if(newstate == PLAYER_STATE_ONFOOT)
{
//Hide Textdraw here
}
return 1;
}