15.07.2012, 00:45
Try this:
I use that on my script and runs very well
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if (newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
// Your code
} else {
// Your code that hides the texdraw
}
return 1;
}