Mini Missions
#1

Hi everybody!

I wan't to make a server like mini missions, (No i'm not going to steal their idea...)
Whats the best way to do this?
I was thinking multiple gamemodes and the admin system in a FS...
Any suggestions?

Thanks!

Reply
#2

sugestion like ? make 2 teams like ''DEFENDERS'' ''ATACKERS'' Make DEFENDERS to defend ship ... and attackers attack the ship , than make a Check point or heli or somethig that must attacker stole or stay in checkpoint ... and then they win , and make a timer for gamemode, if the attackers cant steal the heli in like 15 mins so than defenders win etc ... make like command /shop and there players can buy hydra,hunter,cars,weapons etc etc and make more differrent gamemodes like this , than make race gamemodes and so on ...
Reply
#3

Quote:
Originally Posted by Lajko1
sugestion like ? make 2 teams like ''DEFENDERS'' ''ATACKERS'' Make DEFENDERS to defend ship ... and attackers attack the ship , than make a Check point or heli or somethig that must attacker stole or stay in checkpoint ... and then they win , and make a timer for gamemode, if the attackers cant steal the heli in like 15 mins so than defenders win etc ... make like command /shop and there players can buy hydra,hunter,cars,weapons etc etc and make more differrent gamemodes like this , than make race gamemodes and so on ...
No suggestions to make the mini missions system...
But thanks anyway (:
Reply
#4

Multiple Gamemodes, when one finishes https://sampwiki.blast.hk/wiki/SendRconCommand to load the next gamemode.
Reply
#5

Quote:
Originally Posted by clum'
Multiple Gamemodes, when one finishes https://sampwiki.blast.hk/wiki/SendRconCommand to load the next gamemode.
Do I have to put something like;
Код:
gamemode0 lvdm 1
gamemode1 rivershell 1
gamemode2 area51 1
gamemode4 sftdm 1
In my cerver.cfg, or only the first GM I wan't to load?

Thanks
Reply
#6

Put Follwoing under OnGameModeInit:

Код:
SetTimer ("ExitGameMode", 360000, false)
And put in your script this too:

Код:
forward ExitGamemode();
     Public ExitGameMode()
     {
     SendRconCommand ("gmx");
     }
Enjoy! Good Luck!
Reply
#7

Put Follwoing under OnGameModeInit:

Код:
SetTimer ("ExitGameMode", 360000, false)
And put in your script this too:

Код:
forward ExitGamemode();
     Public ExitGameMode()
     {
     SendRconCommand ("gmx");
     }
Enjoy! Good Luck!
Reply
#8

Quote:
Originally Posted by Nameless303
Do I have to put something like;
Код:
gamemode0 lvdm 1
gamemode1 rivershell 1
gamemode2 area51 1
gamemode4 sftdm 1
In my cerver.cfg, or only the first GM I wan't to load?

Thanks
Yes, this is the best way.

And to end a gamemode use https://sampwiki.blast.hk/wiki/GameModeExit
Reply
#9

You could set a timer to exit the gm automatically after 8 minutes or something?
Reply
#10

Config file (server.cfg)
pawn Код:
gamemode0 gmName1
gamemode1 gmName2
...
You've should put this in every GM
pawn Код:
forward gmExit();
pawn Код:
public OnGameModeInit()
{
    SendRconCommand("reloadfs AdminFS"); // you should have admin filterscript named "AdminFS"..
    SetTimer("gmExit",900000,0); // 900 000ms = 15s (1 second = 1000ms, 60*1000 = 60000s (1min) * 15 == 900 000ms)
    return 1;
}
pawn Код:
public gmExit()
{
    SendRconCommand("gmx"); // next gamemode
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)