2 gamemods
#1

How to put 2 gamemods in server.cfg and how to make them - rotate? Please Help?

Thanks!
Reply
#2

You mean like, when first gamemodes is over, the second one starts?

If that's what you want, then just create a timer in the first gamemode which will use SendRconCommand and
"changemode _name_of_the_second_gamemode_" command and same with the second gamemode which will also use the SendRconCommand in a timer and "changemode" command but with the name of the first gamemode.

- Or just check the link that Seif gave you.
Reply
#3

Don can you please send me code if it is not problem?
Reply
#4

Actually, check Seif's link.

Код:
gamemode0 lvdm 1
gamemode1 rivershell 1
With this you can have two gamemodes. Means, when lvdm ends, the rivershell will start.
I'm not sure what will happen when rivershell ends, i guess it should go again to the gamemode0 which is lvdm, so if that's true, then you don't need my idea.
Reply
#5

ok
Reply
#6

not working, I did same as you,
Quote:

gamemode0 cng 1
gamemode1 area51 1

Always play cng!
Reply
#7

You need to set a timer which will end the gamemode.
Reply
#8

sorry newbie, can you give me code?
Reply
#9

pawn Код:
forward myTimer();

public myTimer()
{
  GameModeExit();
  return 1;
}

// under OnGameModeInit-callback:
SetTimer("myTimer", _YOUR_END_TIME_IN_MILISECONDS_, false);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)