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

deathmatch (5 minutes =ak, 10 minutes = awp, 15 minutes = usp)


Post New Thread Reply   
 
Thread Tools Display Modes
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 05-15-2020 , 11:52   Re: deathmatch (5 minutes =ak, 10 minutes = awp, 15 minutes = usp)
Reply With Quote #11

You need to use these plugins with https://forums.alliedmods.net/showth...33685&page=255
In the config for the above plugin you have "Game Modes" like for example "Pistols" or "Ak Colt". U need to add these modes into the plugin in this thread. The one I posted.
Ejziponken is offline
r0xi
BANNED
Join Date: Oct 2012
Location: Sofia
Old 06-12-2020 , 11:56   Re: deathmatch (5 minutes =ak, 10 minutes = awp, 15 minutes = usp)
Reply With Quote #12

Quote:
Originally Posted by Ejziponken View Post
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;
}

not work boss or give recording video on youtube how work..
r0xi is offline
Send a message via AIM to r0xi Send a message via Yahoo to r0xi Send a message via Skype™ to r0xi
Reply



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:58.


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