25.02.2011, 19:18
Better use:
Ofc, replace the x, y, z with the X Y and Z you want to tele. It will choose one of thoose ^^.
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;
}