Help with a minigame,
#1

I created a minigame, a race one so i made it when a player that finishes the race teleports normaly and his virtual world is set to 0
like it should, so is the next person who joined, the minigame is over, however, everybody else in the minigame, stay at the minigame virtual world without being teleported, how do i make it so once the minigame is over, it will teleport all the players in the minigame+set their virtual world to 0?
Reply
#2

..
Reply
#3

When your round get's over...

Код:
new i;
for(i=0;i<MAX_PLAYERS;i++)
{ 
 if(GetPlayerVirtualWorld(playerid)!=0)
 { 
  SetPlayerVirtualWorld(i,0);
 }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)