SA-MP Forums Archive
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)
+--- Thread: Teleport. (/showthread.php?tid=482695)



Teleport. - cuemur - 22.12.2013

how to teleport people to diffrent spots. not to repeat the same place.

Like 10 diffrent spots.


Re: Teleport. - Kells - 22.12.2013

use :
Код:
SetPlayerPos(playerid,^place codes^);



Re: Teleport. - cuemur - 22.12.2013

Yes but i need to teleport like 10 people using /start

Like first join and SetPlayerPos(diffrentxyz)
Second join and SetPlayerPos(diffrentxyz)


Re: Teleport. - Kells - 22.12.2013

what type of cmds you using ?? CMD? or dcmd or what


Re: Teleport. - CutX - 22.12.2013

something like this in your cmd.

PHP код:
for(new i=0i<10i++)
{
    switch(
i)
    {
        case 
0//position 1
        
case 1//position 2
        //and so on...
    
}




Re: Teleport. - cuemur - 22.12.2013

CutX thanks rep+