Minigame
#2

Quote:
Originally Posted by Luke™
Hey guys, I'd love to make like a minigame test server for my self with my own maps. But i'm not sure how I could make them loop or how to make the gamemodes jump from one to another? Any help?
You have to make a timer in each gamemode.
Let's say you are in your first one.
pawn Код:
public OnGameModeInit()
{
   SetTimer("Minigame2",yourtime,0);
   return 1;
}
Then you do this

pawn Код:
forward Minigame2();
public Minigame2()
{
  SendRconCommand("changemode yourmode");
  return 1;
}
Do the same on the other gamemodes, and don't forget to add each in server.cfg

P.S When you are in your last gamemode, let it set timer to go to your first gamemode.

I guess this is what you need.
Reply


Messages In This Thread
Minigame - by LukeGFX - 22.09.2009, 14:08
Re: Minigame - by Blades - 22.09.2009, 14:22
Re: Minigame - by LukeGFX - 22.09.2009, 15:08
Re: Minigame - by LukeGFX - 22.09.2009, 18:35
Re: Minigame - by LukeGFX - 22.09.2009, 20:22
Re: Minigame - by Blades - 22.09.2009, 21:20
Re: Minigame - by LukeGFX - 22.09.2009, 21:51

Forum Jump:


Users browsing this thread: 1 Guest(s)