[HELP] Teleport with samp_debug?
#1

I'm about to move my script to San Fierro, but It will take time if I have to drive/fly to SF all the time when you spawn in LS.
Is it a cmd to teleport to SF?

Or any faster way to get there?

Thanks!
Reply
#2

Use debug ingame with a teleport script .
Reply
#3

Quote:
Originally Posted by [HiC
TheKiller ]
Use debug ingame with a teleport script .
Yes, but in SA-MP I'm not allowed to spawn cars... well... if there is a car spawning script...
Reply
#4

Use an admin FS?

Anyway, I've done a Teleport command for you.

pawn Код:
if(strcmp(cmdtext,"/sf",true)==0)
{
SetPlayerPos(playerid,-2521.2683,1216.7891,37.4283);
return 1;
}
There, just put that into the
pawn Код:
public OnPlayerCommandText
part of your script run the gamemode and away you go.

Heres some SF car spawn to help you aswell:

pawn Код:
AddStaticVehicle(506, -2350.7732,982.6520,50.1765,93.9671, -4, -1);
    AddStaticVehicle(405, -2408.3171,975.9350,44.7778,0.5070, -0, -1);
    AddStaticVehicle(535, -2447.1313,741.2441,34.4983,359.9536, -88, -1);
    AddStaticVehicle(439, -2482.0339,740.8655,34.4968,1.6191, -6, -1);
    AddStaticVehicle(562, -1752.1643,955.3827,24.2223,90.9319, -50, -1);
    AddStaticVehicle(480, -1651.5002,1312.0355,6.5125,133.7145, -67, -1);
    AddStaticVehicle(541, -1953.3378,584.8588,34.6082,1.1644, -2, -1);
    AddStaticVehicle(402, -1986.6467,272.9059,34.6607,87.3051, -95, -1);
    AddStaticVehicle(589, -1988.0177,256.2528,34.6530,86.0434, -126, -1);
    AddStaticVehicle(415, -1955.7899,266.8325,34.9498,45.8175, -88, -1);
    AddStaticVehicle(587, -1987.4296,146.9548,27.0203,178.6583, -45, -1);
    AddStaticVehicle(474, -2029.6301,156.5491,28.3179,358.7440, -122, -1);
    AddStaticVehicle(546, -2019.9487,-94.0716,34.6446,268.2291, -100, -1);
    AddStaticVehicle(545, -2316.5066,-155.1236,34.8013,358.8121, -0, -1);
    AddStaticVehicle(411, -2762.4624,-296.1751,6.5191,0.3478, -79, -1);
    AddStaticVehicle(534, -2668.3662,268.1609,3.8169,180.8957, -99, -1);
    AddStaticVehicle(436, -2658.8652,376.2337,3.6177,1.1385, -32, -1);
    AddStaticVehicle(428, -2571.4214,632.4421,13.9402,90.9628, -86, -0);
    AddStaticVehicle(458, -2572.9275,1132.8330,55.0602,71.7745, -21, -1);
    AddStaticVehicle(459, -2511.6201,1205.4092,36.9027,91.5555, -1, -1);
    AddStaticVehicle(422, -2635.5469,1375.9552,6.6075,358.8513, -6, -1);
    AddStaticVehicle(475, -2485.4841,1224.5093,35.0670,52.3910, -6, -1);
    AddStaticVehicle(462, -2503.6978,1202.2473,37.4283,182.8103, -0, -1);
    AddStaticVehicle(463, -2498.7407,1202.8842,37.4219,182.8103, -0, -1);
    AddStaticVehicle(580, -1945.5082,834.8359,40.9124,271.3798, -1, -1);
Credits to scottism for the cars, and the cordinate for the teleport... I've just put it together for you.
Reply
#5

Quote:
Originally Posted by Burridge
Use an admin FS?

Anyway, I've done a Teleport command for you.

pawn Код:
if(strcmp(cmdtext,"/sf",true)==0)
{
SetPlayerPos(playerid,-2521.2683,1216.7891,37.4283);
return 1;
}
There, just put that into the
pawn Код:
public OnPlayerCommandText
part of your script run the gamemode and away you go.

Heres some SF car spawn to help you aswell:

pawn Код:
AddStaticVehicle(506, -2350.7732,982.6520,50.1765,93.9671, -4, -1);
    AddStaticVehicle(405, -2408.3171,975.9350,44.7778,0.5070, -0, -1);
    AddStaticVehicle(535, -2447.1313,741.2441,34.4983,359.9536, -88, -1);
    AddStaticVehicle(439, -2482.0339,740.8655,34.4968,1.6191, -6, -1);
    AddStaticVehicle(562, -1752.1643,955.3827,24.2223,90.9319, -50, -1);
    AddStaticVehicle(480, -1651.5002,1312.0355,6.5125,133.7145, -67, -1);
    AddStaticVehicle(541, -1953.3378,584.8588,34.6082,1.1644, -2, -1);
    AddStaticVehicle(402, -1986.6467,272.9059,34.6607,87.3051, -95, -1);
    AddStaticVehicle(589, -1988.0177,256.2528,34.6530,86.0434, -126, -1);
    AddStaticVehicle(415, -1955.7899,266.8325,34.9498,45.8175, -88, -1);
    AddStaticVehicle(587, -1987.4296,146.9548,27.0203,178.6583, -45, -1);
    AddStaticVehicle(474, -2029.6301,156.5491,28.3179,358.7440, -122, -1);
    AddStaticVehicle(546, -2019.9487,-94.0716,34.6446,268.2291, -100, -1);
    AddStaticVehicle(545, -2316.5066,-155.1236,34.8013,358.8121, -0, -1);
    AddStaticVehicle(411, -2762.4624,-296.1751,6.5191,0.3478, -79, -1);
    AddStaticVehicle(534, -2668.3662,268.1609,3.8169,180.8957, -99, -1);
    AddStaticVehicle(436, -2658.8652,376.2337,3.6177,1.1385, -32, -1);
    AddStaticVehicle(428, -2571.4214,632.4421,13.9402,90.9628, -86, -0);
    AddStaticVehicle(458, -2572.9275,1132.8330,55.0602,71.7745, -21, -1);
    AddStaticVehicle(459, -2511.6201,1205.4092,36.9027,91.5555, -1, -1);
    AddStaticVehicle(422, -2635.5469,1375.9552,6.6075,358.8513, -6, -1);
    AddStaticVehicle(475, -2485.4841,1224.5093,35.0670,52.3910, -6, -1);
    AddStaticVehicle(462, -2503.6978,1202.2473,37.4283,182.8103, -0, -1);
    AddStaticVehicle(463, -2498.7407,1202.8842,37.4219,182.8103, -0, -1);
    AddStaticVehicle(580, -1945.5082,834.8359,40.9124,271.3798, -1, -1);
Credits to scottism for the cars, and the cordinate for the teleport... I've just put it together for you.
Thanks, it works like a dream xD
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)