Teleport - 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: Teleport (
/showthread.php?tid=130630)
Teleport -
02manchestera - 27.02.2010
Hi ive just started to post some maps and need a simple teleport example that i can just add x,y,z and the command e.g /stunt
Re: Teleport -
Klutty - 27.02.2010
pawn Код:
SetPlayerPos(playerid,x,y,z);
SendClientMessage(playerid,color,"Welcome to /stunt!");
For example.
Re: Teleport -
02manchestera - 27.02.2010
What section of the scripts do they go in.
Re: Teleport -
Torran - 27.02.2010
If you dont know how to make a teleport command then you should really learn pawno
pawn Код:
if(!strcmp(cmdtext, "/teleport", true))
{
SetPlayerPos(playerid, x,y,z);
return 1;
}
Put that in OnPlayerCommandText.