[TELEPORT]
#8

iTails:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/lvairport", true)==0)
{
 new vehicleid = GetPlayerVehicleID(playerid);
 new State = GetPlayerState(playerid);
 if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
 {
  return SetVehiclePos(vehicleid,1708.5780,1606.8759,10.0156), //cords
  GameTextForPlayer(playerid, "~w~Welcome to Las Venturas Airport!", 5000, 5); // Will says if you have teleported
 }
 SetPlayerPos(playerid,1708.5780,1606.8759,10.0156); //cords
 GameTextForPlayer(playerid, "~w~Welcome to Las Venturas Airport!", 5000, 5); // Will says if you have teleported
return 1;
}
}
It won't change the angle of the car, though.
Reply


Messages In This Thread
[TELEPORT] - by Typhome - 14.04.2009, 21:24
Re: [TELEPORT] - by RobertGraham - 18.06.2009, 22:06
Re: [TELEPORT] - by Kyle - 18.06.2009, 22:12
Re: [TELEPORT] - by mamorunl - 18.06.2009, 22:18
Re: [TELEPORT] - by RobertGraham - 18.06.2009, 22:22
Re: [TELEPORT] - by mamorunl - 18.06.2009, 22:24
Re: [TELEPORT] - by RobertGraham - 18.06.2009, 22:26
Re: [TELEPORT] - by Delphinus - 19.06.2009, 01:30
Re: [TELEPORT] - by RobertGraham - 19.06.2009, 02:06
Re: [TELEPORT] - by Grim_ - 19.06.2009, 02:30

Forum Jump:


Users browsing this thread: 1 Guest(s)