SA-MP Forums Archive
Teleports, simple for you! Help. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Teleports, simple for you! Help. (/showthread.php?tid=73927)



Teleports, simple for you! Help. - Simmeey - 18.04.2009

Ello, I am wondering if someone could give me a good example how to make teleports and a easy way!

My work, aint working.. So can anyone help? And if you are gonna help me, please. Show me how to make 2 cmds or more in same FS. Thank you.

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/drift", true) == 0)
{
SetPlayerPos(playerid, 2026.7900, 1354.5444, 10.8203, 84.5707);

return 1;
}

return 0;
}


Re: Teleports, simple for you! Help. - Klutty - 18.04.2009

pawn Код:
if (strcmp(cmdtext, "/drift", true) == 0)
{
  SetPlayerPos(playerid, 2026.7900, 1354.5444, 10.8203, 84.5707);
 return 1;
  }