a question
#1

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 )
Reply
#2

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
Reply
#3

/*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
Reply
#4

thanks
Reply
#5

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

Ecko
Reply
#6

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


Forum Jump:


Users browsing this thread: 1 Guest(s)