27.07.2011, 16:27
PHP код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == 2) { TextDrawShowForPlayer(playerid, CarroNome[playerid]); }
if(oldstate == 2) { TextDrawHideForPlayer(playerid, CarroNome[playerid]); }
return 1;
}