All pastes #964687 Raw Edit

Someone

public text v1 · immutable
#964687 ·published 2008-03-31 13:36 UTC
rendered paste body
if (strcmp(cmdtext, "/CommandName", true) == 0)
{
  if (IsPlayerInAnyVehicle(playerid))
  {
    SetVehiclePos(GetPlayerVehicleID(playerid), 2451.863525, -1660.128540, 13.304687);//Replace with the position you want to TP to
    SetVehicleZAngle(GetPlayerVehicleID(playerid), 85.314010);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
  }
  if (!IsPlayerInAnyVehicle(playerid))
  {
    SetPlayerPos(playerid, 2451.863525, -1660.128540, 13.304687);//Replace with the position you want to TP to
    SetPlayerFacingAngle(playerid, 85.314010);
  }
    SetPlayerInterior(playerid, 0);
    SendClientMessage(playerid, 0x000000FF, " Message sent when teleported ");
return 1;
}