Raised This Month: $7 Target: $400
 1% 

Specific Map Deathmatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sentron
Junior Member
Join Date: Nov 2011
Location: New York
Old 02-11-2015 , 12:12   Specific Map Deathmatch
Reply With Quote #1

Hello, I'm trying to modify the deathmatch plugin to make it map specific, and I need some help.

Any suggestions?

PHP Code:
/**
 *dm_basis_toggle.sp
 *This file is part of CS:S DM, Copyright (C) 2005-2007 AlliedModders LLC
 *Original Code by David "BAILOPAN" Anderson, http://www.bailopan.net/cssdm/
 *Modded version by Ben "Sentron" E. http://sentron.com/
 *Version 1.0.1
 */

#include <sourcemod>
#include <sdktools>

/*Plugin CVARS*/
/*INVALID_HANDLE is just a place holder until values are finished and tested*/

new Handlesm_enable_deathmatch INVALID_HANDLE
new Handlesm_respawn_cmmand INVALID_HANDLE
new Handlesm_forcemap INVALID_HANDLE
new Handlesm_reffilamm INVALID_HANDLE
new Handlemp_timelimit INVALID_HANDLE
new Handleg_ChangeMapTimer INVALID_HANDLE


public Plugin:Author Information
{
name "Deathmatch Toggle",
author "Sentron/Altoration",
description "Easily Switch on and off Deathmatch on any map"
url"http://sentron.com/"
}

public 
OnPluginStart() 
__________________

Last edited by Sentron; 02-12-2015 at 06:41.
Sentron is offline
Send a message via Skype™ to Sentron
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 02-15-2015 , 11:53   Re: Specific Map Deathmatch
Reply With Quote #2

Hi, try this:

Quote:
  • cfg/cssdm/cssdm.equip.txt -< cfg/cssdm/maps/MAP.equip.txt
  • cfg/cssdm/cssdm.cfg -< cfg/cssdm/maps/MAP.cssdm.cfg
Where "MAP" is the map name. Both generic and map-specific files are always loaded (in that order) so inheritance will work.
Link: http://www.bailopan.net/cssdm/index.php?page=faq

You can use this plugin to disbale CSS:DM on specific map.
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 02-16-2015 at 11:54.
HSFighter is offline
Send a message via ICQ to HSFighter
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 23:33.


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