06.03.2010, 19:48
Код:
forward Event(); public Event() { switch(random(1)) //could be removed if <= 1 { case 0: { for(new i; i < MAX_PLAYERS; i++) { switch(random(5)) //random(5) returns a number from 0 till 4 (0, 1, 2, 3 or 4) { case 0: SetPlayerPos(i, -2188.7241,-238.9776,36.5220); case 1: SetPlayerPos(i, -2145.9573,-138.9276,36.5228); case 2: SetPlayerPos(i, 2127.0999,-90.8417,35.3203); case 3: SetPlayerPos(i, 2127.0999,-90.8417,35.3203); case 4: SetPlayerPos(i, 2127.0999,-90.8417,35.3203); default: print("ERROR: Undefined teleport!"); } } } } return 1; }
1) but GameTextForPlayer(playerid,"Welcome to last man standing",1500,5);
2) Make it so for 5 min every one keep spawning here and at the end everyone is sent to there gang spawn point.