Help with changing Gamemodes via Command
#1

So I have 4 GM

2 of which is the Minigun Event and the Derby Event, and the other 2 as another kind of GM (not a minigamemode)

Now I would like to create a command like /setmode [Gamemodename]

How would I do that?
Reply
#2

you might want to use Rcon instead?
Reply
#3

Quote:
Originally Posted by Alberto_DR
Посмотреть сообщение
you might want to use Rcon instead?
Yea a command for RCON that's what I meant, not a timer (like other GM uses, that switch a gm within a specific time) but just a command for changing a Gamemode
Reply
#4

/rcon changemode [Gamemodename]
Reply
#5

Quote:
Originally Posted by kazekene
Посмотреть сообщение
/rcon changemode [Gamemodename]
thanks but how do I make a textdraw while it change the mode (like for example: once i /rcon changemode [GM] it states that Gamemode Switching Please Wait....) in textdraw?
Reply
#6

Try to add

[pwn] SendClientMessageToAllEx(COLOR_LIGHTBLUE, "* Changing GameMode");[/pwn]

Afther the cmd script, but I'm not sure about this..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)