SA-MP Forums Archive
a question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: a question (/showthread.php?tid=93824)



a question - [XST]O_x - 27.08.2009

i have a question,
i built a DM place about two days ago.
and i dont know how to make several teleporters,to the same map,like,when someone types /dm he teleports to some part of the map,and another one that types /dm,will go to another point of the map,because if everyone will teleport to the same place in a dm, ..

Please respond,who knows ^^

(BTW:i posted my DM zone in the forum,named: [MAP]Huge DM zone,take a look )


Re: a question - HuRRiCaNe - 27.08.2009

you can do something like this
pawn Code:
new r = random(7);
        if (r == 0){
        SetPlayerPos(playerid, x,y,z);}
        else if (r == 1){
        SetPlayerPos(playerid, x,y,z);}
        else if (r == 2){
        SetPlayerPos(playerid, x,y,z);}
        else if (r == 3){
        SetPlayerPos(playerid, x,y,z);}
        else if (r == 4){
        SetPlayerPos(playerid, x,y,z);}
        else if (r == 5){
        SetPlayerPos(playerid, x,y,z);}
        else if (r == 6){
        SetPlayerPos(playerid, x,y,z);}
        else if (r == 7){
        SetPlayerPos(playerid, x,y,z);}
reply here if it worked


Re: a question - .::: Ecko :::. - 27.08.2009

/*under your teleport*/
switch(random(3))
{
case 0: //position
case 1://position
case 2://position
case 3://position
}
Next time search,also wrong topic..

Ecko


Re: a question - [XST]O_x - 27.08.2009

thanks


Re: a question - .::: Ecko :::. - 27.08.2009

Quote:
Originally Posted by [KMA
America ]
thanks
No problem.

Ecko


Re: a question - SampStunta - 27.08.2009

Or while making a map add different spain points...