30/01/2023 11:40 
	
	
	
		Você está executando o comando dentro da OnPlayerCommandText, o que não faz sentido nenhum. Para isso você tem que usar a callback OnPlayerStateChange ou OnPlayerEnterVehicle.
Exemplo:
	
	
	
Exemplo:
Código PHP:
public OnPlayerStateChange(playerid, newstate, oldstate) {
      static vehicleid, model;
      vehicleid = GetPlayerVehicleID(playerid);
      model = GetVehicleModel(vehicleid);
      if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSANGER) {
        if(model == 519) {
         SetPlayerPos(playerid, 2.384830, 33.103397, 1199.849976);
         SetPlayerInterior(playerid, 1);
        }
      }
      return 1;
} 
Não estou disponível para realizar serviços relacionados ao SA-MP e não costumo responder a mensagens privadas, a menos que estejam relacionadas à moderação do fórum.

 
	   
	

