How to automaticlly change Gamemodes when you win a round?
#1

hey,

i need some help

i making a Mini-Missions server and i want to know

How to automaticlly change Gamemodes when you win a round?

When someone wins the Gamemode changes like in the Mini-Missions server

thanks

and if after sometime no one wins... the Gamemode changes also
Reply
#2

help?
Reply
#3

Set a timer, and when that clicks, check the scores etc, and make it go to next map.
Reply
#4

ok?

so how can i make it change rounds when the Mission is donw

like that one in Mini-Missions (if you played on it)
Reply
#5

Set multiple gamemodes in the cfg file, and restart the server when the timer ends.
Reply
#6

Quote:
Originally Posted by иєσz
Set multiple gamemodes in the cfg file, and restart the server when the timer ends.
hmm ok

EDIT: I tried that waited a few minutes like 20 minutes but it didnt work its still the same GM not a different one

heres the server.cfg

Код:
echo Executing Server Config...
lanmode 1
rcon_password ******
maxplayers 32
port 7777
hostname San Andreas: Mini Missions 0.2x
gamemode0 rivershell 1
gamemode1 cng 1
gamemode2 DnB 1
filterscripts adminspec vactions ladmin4v2
announce 1
query 1
weburl www.sa-mp.com
anticheat 0
Reply
#7

Use
pawn Код:
SendRconCommand("changemode nextgamemodenamehere");
When the gamemode ends.
Reply
#8

pawn Код:
public ExitTheGameMode()
{
      PlaySoundForAll(1186, 0.0, 0.0, 0.0); // Stops the music
    //printf("Exiting Game Mode");
    SendRconCommand("changemode cng");
      GameModeExit();
}
Reply
#9

I don't think you have to use GameModeExit();

I think it will call that automatically.
Reply
#10

hmm let me show you the script

http://pastebin.com/m6e52a0da
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)