SA-MP Forums Archive
[Include] OnPlayerWarpToPlayer - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] OnPlayerWarpToPlayer (/showthread.php?tid=541408)



OnPlayerWarpToPlayer - blackeagle1122 - 11.10.2014

Hi,

This callback is called when a player teleports to another player with cheats.

pawn Код:
public OnPlayerWarpToPlayer(playerid, i)
{
        return 1;
}
Include it in your gamemode then paste it.

playerid - The player teleported.
i - The player was teleported by playerid.

It is tested and no bugs found. If you find a bug please comment.

Pastebin
Solidfiles


Re: OnPlayerWarpToPlayer - LorDWarS - 11.10.2014

good work! thanks.


Re: OnPlayerWarpToPlayer - Dampyr - 11.10.2014

very nice work! useful include