2 teleports to one place
#7

Better use:
pawn Код:
TheTeleportCommand( ... )
{
    new rand = random( 5 ); // 5 diffrent positions
    switch( rand )
    {
        case 0: SetPlayerPos( playerid, x, y, z );
        case 1: SetPlayerPos( playerid, x, y, z );
        // And so on...
    }
    return 1;
}
Ofc, replace the x, y, z with the X Y and Z you want to tele. It will choose one of thoose ^^.
Reply


Messages In This Thread
2 teleports to one place - by Beginnercoder - 25.02.2011, 19:00
Re: 2 teleports to one place - by park4bmx - 25.02.2011, 19:06
Re: 2 teleports to one place - by Stigg - 25.02.2011, 19:08
Re: 2 teleports to one place - by Beginnercoder - 25.02.2011, 19:09
Re: 2 teleports to one place - by Beginnercoder - 25.02.2011, 19:10
Re: 2 teleports to one place - by Stigg - 25.02.2011, 19:17
Re: 2 teleports to one place - by Mean - 25.02.2011, 19:18
Re: 2 teleports to one place - by Beginnercoder - 25.02.2011, 19:24

Forum Jump:


Users browsing this thread: 1 Guest(s)