Raised This Month: $12 Target: $400
 3% 

[HELP CSGO] DM FFA Multi CFG


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
maxz1n
New Member
Join Date: May 2020
Old 05-10-2020 , 13:20   [HELP CSGO] DM FFA Multi CFG
Reply With Quote #1

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.
maxz1n is offline
XHUNTERX
Senior Member
Join Date: Aug 2019
Location: World
Old 05-12-2020 , 10:01   Re: [HELP CSGO] DM FFA Multi CFG
Reply With Quote #2

It's a great idea

I hope someone helps
XHUNTERX is offline
ladaladik
BANNED
Join Date: Nov 2019
Old 05-12-2020 , 13:03   Re: [HELP CSGO] DM FFA Multi CFG
Reply With Quote #3

Hello, add me on discord LaFF#6135 you can explain more there
ladaladik is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 05-15-2020 , 11:23   Re: [HELP CSGO] DM FFA Multi CFG
Reply With Quote #4

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;
}
Ejziponken is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:06.


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