30.03.2015, 03:12
Faz assim
PHP код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
TextDrawShowForPlayer(playerid, Velocimetro);
}
return 1;
}
PHP код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
TextDrawShowForPlayer(playerid, Velocimetro); // Aqui ta pra mostrar a textdraw...
/// correto seria TextDrawHideForPlayer
return 1;
}