AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [HELP CSGO] DM FFA Multi CFG (https://forums.alliedmods.net/showthread.php?t=324250)

maxz1n 05-10-2020 13:20

[HELP CSGO] DM FFA Multi CFG
 
Hello there,
Does someone know a good DM mod for CS:GO with Multi CFG (5 minutes pistols , 5 minutes Primary , 5 minutes AWP ) etc..
I will be deeply grateful.
Thank you !

Or atleast a tutorial how can i edit a normal FFA DM server to switch plugins after an amount of time.

XHUNTERX 05-12-2020 10:01

Re: [HELP CSGO] DM FFA Multi CFG
 
It's a great idea

I hope someone helps

ladaladik 05-12-2020 13:03

Re: [HELP CSGO] DM FFA Multi CFG
 
Hello, add me on discord LaFF#6135 you can explain more there

Ejziponken 05-15-2020 11:23

Re: [HELP CSGO] DM FFA Multi CFG
 
This works with Deathmatch Advanced. Add the times and mode names from deathmatch.ini (not simple).


Code:

#pragma semicolon 1

#define DEBUG
#include <sourcemod>

public void OnMapStart()
{
    CreateTimer(300.0, Timer_Callback, _, TIMER_FLAG_NO_MAPCHANGE);
}

chosen = 0;

public Action Timer_Callback(Handle timer)
{

    if(chosen == 0)
        ServerCommand("dm_load \"Game Modes\" \"Ak Colt\" equip");
        CreateTimer(INSERTSECONDSHERE.0, Timer_Callback, _, TIMER_FLAG_NO_MAPCHANGE);
    else if(chosen == 1)
        ServerCommand("dm_load \"Game Modes\" \"Pistols\" equip");
        CreateTimer(INSERTSECONDSHERE.0, Timer_Callback, _, TIMER_FLAG_NO_MAPCHANGE);
    else if(chosen == 2)
        ServerCommand("dm_load \"Game Modes\" \"Scout knives\" equip");
        CreateTimer(INSERTSECONDSHERE.0, Timer_Callback, _, TIMER_FLAG_NO_MAPCHANGE);
    else if(chosen == 3)
        ServerCommand("dm_load \"Game Modes\" \"SMGs\" equip");
        CreateTimer(INSERTSECONDSHERE.0, Timer_Callback, _, TIMER_FLAG_NO_MAPCHANGE);

    if(chosen == 3)
        chosen = 0;

    chosen++;
    return Plugin_Handled;
}



All times are GMT -4. The time now is 16:20.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.