Teleport all - 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 all (
/showthread.php?tid=171430)
Teleport all -
Daslee - 26.08.2010
Hello, i have 1 question, can i make SetPlayerPos not for 1 player, but for all server players, because i want to make mapp changer, and idk how to make, when it's teleport all players...
Re: Teleport all -
Calgon - 26.08.2010
pawn Code:
for(i = 0; i < MAX_PLAYERS; i++ ) {
SetPlayerPos(i, 0, 0, 0);
}
Replace 0, 0, 0 with the map coordinates you wish to teleport the player to.
Re: Teleport all -
Daslee - 26.08.2010
Thanks man