Need help on finding co-ordinates.
#1

Well my ramp is very high in the sky so i can't drive there or fly there, so how do i get the co-ordinates

the coding for the objects are here:

Код:
CreateObject(5442, 2179.8767089844, -2436.4167480469, 3036.3642578125, 0, 0, 278.61560058594);
CreateObject(5442, 2172.0270996094, -2384.8474121094, 3017.263671875, 0, 40, 98.090087890625);
CreateObject(5442, 2165.6811523438, -2342.2331542969, 2977.7690429688, 0, 45, 100.04486083984);
CreateObject(5442, 2163.3596191406, -2309.2487792969, 2944.9057617188, 356.99523925781, 44.994506835938, 98.058502197266);
CreateObject(5442, 2161.7946777344, -2274.7673339844, 2910.4104003906, 356.99523925781, 44.994506835938, 92.103454589844);
CreateObject(5442, 2162.1975097656, -2239.1162109375, 2867.6293945313, 356.99523925781, 54.989013671875, 94.083374023438);
CreateObject(5442, 2166.7866210938, -2137.9665527344, 2744.5056152344, 356.99523925781, 44.983520507813, 88.126831054688);
CreateObject(5442, 2162.5227050781, -2207.0651855469, 2821.5600585938, 356.99523925781, 54.986572265625, 94.081420898438);
CreateObject(5442, 2163.9907226563, -2171.7824707031, 2778.7966308594, 356.99523925781, 44.983520507813, 88.126831054688);
CreateObject(1655, 2165.12109375, -2031.3441162109, 2694.3044433594, 0, 0, 1.9849853515625);
CreateObject(4652, 2166.1037597656, -2079.078125, 2709.1687011719, 0, 340, 272.66064453125);
CreateObject(4808, 2167.4887695313, -1818.1174316406, 2632.3830566406, 0, 0, 89.324493408203);
CreateObject(4648, 2141.8740234375, -1771.8958740234, 2632.1918945313, 0, 0, 0);
CreateObject(8357, 2070.7094726563, -1731.9368896484, 2631.9753417969, 0, 0, 1.9849853515625);
CreateObject(8357, 2178.1176757813, -1632.8875732422, 2631.8549804688, 0, 0, 274.64562988281);
CreateObject(1655, 2052.7641601563, -1640.3265380859, 2633.259765625, 0, 0, 0);
CreateObject(1655, 2061.1909179688, -1640.2763671875, 2633.259765625, 0, 0, 0);
Reply
#2

Just make a teleport to one of your objects.
Reply
#3

Make your teleport to this coord

pawn Код:
2166.1037597656, -2079.078125, 2909.1687011719
Reply
#4

Or exactly...

pawn Код:
OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp("/teletoramp",cmdtext, true))
{
SetPlayerPos(playerid,2166.1037597656, -2079.078125, 2909.1687011719);
}
}
Reply
#5

pawn Код:
OnPlayerCommandText(playerid, cmdtext[])
{
  if(!strcmp("/teletoramp",cmdtext, true))
  {
  SetPlayerPos(playerid,2166.1037597656, -2079.078125, 2909.1687011719);
  return 1;
  }
return 0;
}
virspector you forgot the return 1; ... The command would work without it but will give the message "Server : Unknown Command"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)