21.01.2011, 10:52
OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) <- Esse callback й chamado apenas quando o player aperta enter para entrar no carro nesse momento o player estб fora do carro portanto ele retorna false na condicгo.
Use esse callback veja se funciona,
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
TextDrawShowForPlayer(playerid, teste);
}
return 1;
}
Use esse callback veja se funciona,
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
TextDrawShowForPlayer(playerid, teste);
}
return 1;
}