Hello 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: Hello Teleport ? (
/showthread.php?tid=110717)
Hello Teleport ? -
xivo - 28.11.2009
Hey i have an ask, how to make this ?
I want to make OnPlayerClickPlayer
That an Rcon admin can port to this clicked player ? How to do that
Re: Hello Teleport ? -
notime - 28.11.2009
Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
if(IsPlayerAdmin(playerid))
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(clickedplayerid, X, Y, Z);
SetPlayerPos(playerid, X, Y, Z);
return 1;
}
return 1;
}
that will do
Re: Hello Teleport ? -
FlatMaN - 28.11.2009
Код:
if(IsPlayerAdmin(playerid))
Re: Hello Teleport ? -
notime - 28.11.2009
oh yea.. sorry.. i was rushing it