Hoppa till innehåll

Akut! Cs:s Deathmatch Vapenmenyn!


mulle 9
 Dela

Rekommendera inlägg

hej här får ni ett par kodboxer om filerna som behövs för cssdm ni hittar själva inlägget längre ner

 

 

"Equipment"
{
"Settings"
{
	// Allow clients to say "guns" to restore their menu.
	// This is disabled if the menu isn't drawn.
	//
	"guns_command"		"yes"
}

//
// Enable or disable menus here.
// For the primary and secondary gun menus, you can use:
//	"no"     - Completely disable the menus
//	"yes"    - Enable the menus
//	"random" - Pick a random weapon from the menus automatically for players
//
"Menus"
{
	// Primary gun menu
	"primary"		"yes"
	
	// Secondary gun menu
	"secondary"		"yes"
	
	// Normal CS:S buy menu/commands
	// If enabled, the main equipment menu will be disabled.
	"buy"			"no"
}

//
// Automatic things to give on spawn.
//
"AutoItems"
{
	// Health amount to give (0 to use default from game/other plugin)
	"health"		"100"

	// Armor amount to give
	"armor"			"100"
	
	// Whether to give a helmet.  If you want to disable armor, you must 
	// set this to "no" as well as setting armor to 0.
	"helmet"		"yes"
	
	// Number of flashbangs to give
	"flashbangs"	"0"
	
	// Whether to give a smoke grenade
	"smokegrenade"	"no"
	
	// Whether to give an HE grenade
	"hegrenade"		"no"

	// Whether to give defusekits to CTs
	"defusekits"	"yes"
	
	// Whether to give nightvision
	"nightvision"	"yes"
}

//
// Items listed here will be automatically given to bots. 
// If multiple weapons exist from one category (primary/secondary),
// then a random item will be chosen from that category.  If the same
// weapon is added more than once, it increases its chances of being 
// picked.  No more than 32 weapons can be added to either the secondary
// or the primary pool.
//
"BotItems"
{
	"weapon"		"ak47"
	"weapon"		"m4a1"
	"weapon"		"awp"
	"weapon"		"galil"
	"weapon"		"aug"
	"weapon"		"deagle"
	"health"		"100"
	"armor"			"100"
	"helmet"		"yes"
	"flashbangs"	"0"
	"smokegrenade"	"no"
	"hegrenade"		"no"
	"defusekits"	"yes"
}

//
// If no items exist, the menu will be skipped.
// If only one item exists, the menu will be skipped
// and players will receive the item automatically.
//
"SecondaryMenu"
{
	"weapon"	"usp"
	"weapon"	"glock"
	"weapon"	"deagle"
	"weapon"	"p228"
	"weapon"	"elite"
	"weapon"	"fiveseven"
}

//
// If no items exist, the menu will be skipped.
// If only one item exists, the menu will be skipped
// and players will receive the item automatically.
//
"PrimaryMenu"
{
	"weapon"	"m4a1"
	"weapon"	"ak47"
	"weapon"	"awp"
	"weapon"	"scout"
	"weapon"	"sg552"
	"weapon"	"galil"
	"weapon"	"famas"
	"weapon"	"sg550"
	"weapon"	"aug"
	"weapon"	"m249"
	"weapon"	"g3sg1"
	"weapon"	"ump45"
	"weapon"	"mp5navy"
	"weapon"	"m3"
	"weapon"	"xm1014"
	"weapon"	"tmp"
	"weapon"	"mac10"
	"weapon"	"p90"
}
}

Jag har fixat cssdm till min listen server och den funkar fin-fin med respawns och sådär men jag har bara Glock eller Usp

Jag vill kunna köra deathmatch mot bots eller på LAN.

guns kommandot fungerar inte heller, det händer NADA!

jag har senaste medamod:source och sourcemod och cssdm 2.10 eller vad den heter och jag har fixat vdf filen till metamod.

säg inte att jag ska gå in i css dm cfg för dör är allt som det ska och cssdm.equip hjälper inte om jag ändrar för jag har prövat och cssdm.weapons är oröd.

Vad kan felet vara??!

Det skulle vara jättebra om jag kunde få hjälp fort.

Tack på förhand! Jag har även fixat så att ni kan se cssdm filerna.

//Do not edit this CS:S DM file!
"Weapons"
{
"cstrike"
{
	"usp"
	{
		"name"		"USP"
		"type"		"secondary"
	}
	"glock"
	{
		"name"		"Glock"
		"type"		"secondary"
	}
	"deagle"
	{
		"name"		"Deagle"
		"type"		"secondary"
	}
	"p228"
	{
		"name"		"P228"
		"type"		"secondary"
	}
	"elite"
	{
		"name"		"Elite"
		"type"		"secondary"
	}
	"fiveseven"
	{
		"name"		"Five Seven"
		"type"		"secondary"
	}
	"m4a1"
	{
		"name"		"M4A1"
		"type"		"primary"
	}
	"ak47"
	{
		"name"		"AK47"
		"type"		"primary"
	}
	"aug"
	{
		"name"		"Steyr AUG"
		"type"		"primary"
	}
	"sg552"
	{
		"name"		"SG552"
		"type"		"primary"
	}
	"galil"
	{
		"name"		"Galil"
		"type"		"primary"
	}
	"famas"
	{
		"name"		"Famas"
		"type"		"primary"
	}
	"scout"
	{
		"name"		"Scout"
		"type"		"primary"
	}
	"sg550"
	{
		"name"		"SG550"
		"type"		"primary"
	}
	"m249"
	{
		"name"		"M249"
		"type"		"primary"
	}
	"g3sg1"
	{
		"name"		"G3SG1"
		"type"		"primary"
	}
	"ump45"
	{
		"name"		"UMP 45"
		"type"		"primary"
	}
	"mp5navy"
	{
		"name"		"MP5 Navy"
		"type"		"primary"
	}
	"m3"
	{
		"name"		"M3"
		"type"		"primary"
	}
	"xm1014"
	{
		"name"		"xm1014"
		"type"		"primary"
	}
	"tmp"
	{
		"name"		"TMP"
		"type"		"primary"
	}
	"mac10"
	{
		"name"		"Mac 10"
		"type"		"primary"
	}
	"p90"
	{
		"name"		"P90"
		"type"		"primary"
	}
	"awp"
	{
		"name"		"AWP"
		"type"		"primary"
	}
	"smokegrenade"
	{
		"name"		"Smode Grenade"
		"type"		"grenade"
	}
	"hegrenade"
	{
		"name"		"HE Grenade"
		"type"		"grenade"
	}
	"flashbang"
	{
		"name"		"Flashbang"
		"type"		"grenade"
	}
	"c4"
	{
		"name"		"C4"
		"type"		"c4"
	}
}
}

// Sets whether or not CS:S DM is enabled.
// --
// Default: "1"
cssdm_enabled "1"

// Sets whether FFA mode is enabled.  FFA lets
// players kill teammates for points, without any
// damage reduction or teamkill penalties.
// -- 
// Default: "0"
cssdm_ffa_enabled "0"

// Sets the CS:S DM spawn method.
// "none"   -- Spawn at the normal map spawn points.
// "preset" -- Spawn at a random point from a config file.
// --
// Default: "preset"
cssdm_spawn_method "preset"

// Number of seconds to wait before deleting a ragdoll.
// If 0, ragdoll will be deleted instantly.
// If >=20, ragdoll will never be deleted.
// --
// Default: "2"
cssdm_ragdoll_time "2"

// Number of seconds to wait before respawning a player.
// --
// Default: "0.75"
cssdm_respawn_wait "0.75"

// Whether or not C4 should be allowed.  If not allowed,
// It will be removed from the world when dropped and 
// stripped from players when they spawn.
// --
// Default: "0"
cssdm_allow_c4 "0"

// Sets whether the equipment plugin is enabled.
// --
// Requires: dm_equipment.smx
// Default: "1"
cssdm_enable_equipment "1"

// Whether or not spawn protection is enabled.
// --
// Requires: sm_spawn_protection.smx
// Default: "1"
cssdm_spawn_protection "1"

// Number of seconds a client is protected for.
// --
// Requires: sm_spawn_protection.smx
// Default: "2"
cssdm_prot_time "2"

// Sets the spawn protection color for CTs.
// Format is "r g b a" (red, green, blue, alpha)
// --
// Requires: sm_spawn_protection.smx
// Default: "0 0 255 50"
cssdm_prot_ctcolor "0 0 255 128"

// Sets the spawn protection color for Ts.
// Format is "r g b a" (red, green, blue, alpha)
// --
// Requires: sm_spawn_protection.smx
// Default: "255 0 0 50"
cssdm_prot_tcolor "255 0 0 128"

// Allow clients to use the "respawn" command.
// Note that this command does not let players respawn before the
// cssdm_respawn_wait time.
// --
// Requires: dm_basics.smx
// Default: "1"
cssdm_respawn_command "1"

// Sets whether CS:S DM should force mapchanges.
// This is useful for Stripper:Source users.
// --
// Requires: dm_basics.smx
// Default: "0"
cssdm_force_mapchanges "0"

// Sets the mapchange file CS:S DM should use.
// This is only needed for cssdm_force_mapchanges.
// --
// Requres: dm_basics.smx
// Default: "mapcycle.txt"
cssdm_mapchange_file "mapcycle.txt"

// Sets whether CS:S DM should automatically refill ammo.
// --
// Requires: dm_basics.smx
// Default: "1"
cssdm_refill_ammo "1"

// Sets how many bots CS:S DM keeps in game.  Use this instead
// of bot_quota for managing bots.
// bot_quota should be "0"
// bot_quota_mode should be "normal"
// bot_auto_vacate should be "0"
// -- 
// Requires: dm_bot_quotas.smx
// Default: "0"
cssdm_bots_balance "0"

// This is an experimental cvar that will prevent CS:S DM from 
// removing dropped items.  It is recommend that you don't set 
// this to 0, because a huge number of weapon entities on the 
// ground will cause lag (both server and client-side).
// --
// Default: "1"
cssdm_remove_drops "1"
// cssdm_guns_command 1

Länk till kommentar
Dela på andra sajter

Jag tror detta är problemet.

 

"Equipment"
{
"Settings"
{
// Allow clients to say "guns" to restore their menu.
// This is disabled if the menu isn't drawn.
//
"guns_command" "yes"
}

 

Eftersom jag antar att guns_command är en bolean variabel så ska du ändra det till :

 

"Equipment"
{
"Settings"
{
// Allow clients to say "guns" to restore their menu.
// This is disabled if the menu isn't drawn.
//
"guns_command" "1"
}

Länk till kommentar
Dela på andra sajter

guns_command 1 har jag prövat att skriva dit själv när det inte fungerade.om man trixar med enable equpment kommandot in-game så kommer vapenmenyn upp men om jag trycker på new weps så försvinner den bara och jag får inget vapen och om man skriver guns så kommer det upp: the guns menu is not avalible

Länk till kommentar
Dela på andra sajter

 Dela

×
  • Skapa ny...