Your Warmup section in the config you provided does not list any weapon, if you load it as is, you'll be restricted to knives.
You may use dm_load_mod to add weapons on top on that config, eg:
Code:
dm_load Configs Warmup
dm_load_mod Configs "All Guns"
Your Warmup section in the config you provided does not list any weapon, if you load it as is, you'll be restricted to knives.
You may use dm_load_mod to add weapons on top on that config, eg:
Code:
dm_load Configs Warmup
dm_load_mod Configs "All Guns"
ok, ty. may you also give me pls plugin with mp5sd, couse i cant compele your plugin.
I am working to make the script compatible for compilation with sourcemod 1.9.
I have already solved the many warnings and errors, I am putting the syntax to the norm of sourcepawn 1.7.
Quote:
Originally Posted by nullb
Been a while, here's an update. Got my servers back online recently.
To use this version you must disable FollowCSGOServerGuidelines in core.cfg, by setting it's value from yes to no.
DO THIS AT YOUR OWN RISK
This plugin will not cause a token ban, but if you have other plugins loaded they may cause a token ban as any protection against 'illegal' calls is removed when you turn this off. If you don't want to do this, use version v0.13.09-nullb, however equipping the P2000 will not work if the player has the USP-S equipped and vice versa.
v0.13.11-nullb
Changelog:
Spoiler
Code:
v0.13.11-nullb (17/08/2016):
-Update weapons.sp now includes data for weapon_mp5sd, ini files also have weapon_mp5sd included where applicable.
-Totally remove updater.inc requirement, that's not coming back.
-Update deathmatch.games.txt
v0.13.10-nullb (17/08/2016):
-Reverted change in wepons.sp weapons_GivePlayerItem(), fixed incorrect weapons sound.
v0.13.9-nullb (18/06/2016):
-Fixed a bug in dhook.sp dhook_EntSelectSpawnPoint()
-Fixed a bug in wepons.sp weapons_GivePlayerItem()
-Disabled updater, will enable again once I fix up a place to host it (Probably Github).
v0.13.8 (23/01/2016):
-Restored weapons SkinTeam to allow weapon skins to work properly on casual game mode
v0.13.7 (09/01/2016):
-Updated weapon equip scheme to bypass loadout on USP/P2000
-Weapons SkinTeam is now deprecated
v0.13.6 (09/01/2016):
-Added AimPunch filtering with convars dm_filter_friendly_aimpunch and dm_filter_all_aimpunchv0.13.5 (09/12/2015):
- Added new R8 revolver
- Fixed Tec9 magazine size
- Increased maximum string size that can be loaded from .ini file to 1024
v0.13.4b (16/09/2015):
- Updated gamedata
v0.13.4 (06/09/2015):
- Added ambiant sound filters
- Fix an issue where message repeat could fail
v0.13.3 (30/05/2015):
- Updated game data
- Increased maximum User message length to 1024
- Fix a possible error on Weapon Drop
v0.13.2 (21/03/2015):
- Fix a possible error on Weapon Drop
- Fix dm_spawn_protection_color_ct having no effect
v0.13.1 (09/01/2015):
- Updated P250 and CZ75A default ammo after CS:GO update
v0.13.0 (04/01/2015):
- Added cvars to setup spawn protection:
.dm_spawn_protection_enable
.dm_spawn_protection_duration
.dm_spawn_protection_clearonshoot
.dm_spawn_protection_color_t
.dm_spawn_protection_color_ct
.dm_spawn_protection_hudfadecolor_t
.dm_spawn_protection_hudfadecolor_ct
- Added cvars to filter blood decals and splatters dm_filter_blood_decals/dm_filter_blood_splatter
- Only HS/Damage filter now does not display blood when attack is filtered
v0.12.6 (12/12/2014):
- Fixed CZ75 after CSGO update
v0.12.5 (21/11/2014):
- Fixed Chat messages not being displayed properly
v0.12.4 (12/11/2014):
- Updated Game Data
v0.12.3 (12/11/2014):
- Updated Game Data
- Added cvars dm_no_damage_trigger_hurt/dm_onlyhs_allowtriggerhurt
- Fixed messaging system displaying message with multiple Text starting from second text instead of first
- Fixed messaging system sometimes stopping message repeat after a non null NoReDisplayTime
v0.12.2 (24/10/2014):
- Added Cvars to clean up game experience:
. dm_filter_kill_log disables kill log in upper right corner
. dm_filter_kill_beep disables beep sound when killing an enemy
. dm_filter_texts/hints/sounds_enabled enable text/hint/sound filtering based on a list defined in dm_filter_texts/hints/sounds
. dm_log_texts/hints/sounds_enabled allows to log in sourcemode logfiles the played sounds or text issued on chat or hint to pinpoint which one must be added in filter list
- Fixed a rare server crash if a spectating player selects a weapon that requires a team change to get the correct skin
v0.12.1 (21/10/2014):
- Added Cvars dm_no_damage_knife/taser/nade/world to filter damage when not in only HS mode
- Fixed 3rd party knives not being correctly registered by plugin (and not dealing damage in only HS)
- Fixed a rare issue that could cause an infinite loop while removing client weapons
v0.12.0 (21/09/2014):
- Added 'DefineWeapon' directive that allows to modify Clipe and Ammo counts (Needs Dhooks)
. This allows to completely define/add a weapon, see second post of thread for available options
. As per 21/09/2014 all weapons are defined internally but some could be added though .ini file in the future
- Changed the way reload is handled
- Fixed an error that could be thrown when 'drop' command is called on an invalid client
- Fixed weapon that could be given to spectators
- Added russian translation (thanks to indwin)
- Updated german translation (thanks to Newbie1992)
v0.11.7 (22/06/2014):
- Fixed a possible source of crash due to weapon skin enforcer
v0.11.6 (20/06/2014):
- Fixed error occurring when invalid player sends a drop command
- Fixed rare error in weapon rotation
v0.11.5 (12/06/2014):
- Fixed P2000 sounding like a deagle if USP-S is selacted in player loadout
v0.11.4 (06/06/2014):
- Fixed USP-S replacing P2000 if selected in inventory (and maybe M4-S too)
v0.11.3 (06/06/2014):
- Fixed C4 being detroyed on drop
v0.11.2 (06/06/2014):
- Added dm_onlyhs_oneshot to kill with one bullet in only HS mode
- Improved Only HS performance
- Automatically set mp_weapons_allow_zeus to 1 if needed
- Refill weapon ammo on pickup if replenish ammo is activated
- Fixed bayonet knife that was not detected as a knife
- Fixed possible error when trying to drop best nade
- Fixed 3rd party weapons being stripped if carried before being found by plugin
- Fixed possible error when enforcing not carried weapons limits
- Fixed weapon tracking system that was interverting team (for weapons neding a fake team change for skins)
v0.11.1 (02/06/2014):
- Fixed mp_death_drop_gun/grenade that were not working
- Fixed C4 that couldn't be dropped
- Fixed issues with weapon tracking system
v0.11.0 (01/06/2014):
- Added possibility to drop any weapon
- Added control on uncarried weapons count and how the maximum limit is enforced (furthest to players, not in LOS,...)
- Added cvar to allow weapons not created by the plugin (weapons on map, weapons created by the game/other plugins, etc...
- Added possibility to add limit on weapons that are not in menu (to limit weapons on map for example).
This if made by adding a 'h' (for hidden) in limit (eq 'weapon_awp' '5h')
- Added 'Delay' option for message, to specify a time delay before first display
- Weapon rotation will now wait for player to change weapon if dm_limited_weapons_rotation_time is 0
v0.10.0 (29/05/2014):
- Added configurable screen fade at spawn
- Added configurable spawn sound
. Sound can be independently configured for teammates, for spawned player and for enemies
. Sound level can be configured
. A pool of up to 10 sounds can be specified, chosen randomly at each spawn
- Smoothed spawn Temp Entities sent to client to avoid lag when editing spawns
- Fixed a possible source of crash when plugin Cvar are set in .cfg
v0.9.1 (20/05/2014):
- Added weapon skining indenpendently of the team
- Fixed Equipment reward on kill
- Increased a bit spawn offset to avoid being stuck on some props
v0.9.0 (18/05/2014):
- Added Equipment update on kill
. This is configured through dm_equip_<kill|headshot|knife|nade> cvars
. This is a comma separated string. Format <number>*<equimpment>. Equimpent can be he, flash, smoke, incendiary, decoy, zeus. eg '1*he,2*zeus'
. To be allowed to accumulate equipment, maximum equipment is set with cvars dm_zeus_max, dm_nades_<he|incendiary|decoy|flashband|smoke>_max
- Added Cvars 'dm_spawns_editor_speed_ratio' and 'dm_spawns_editor_gravity_ratio' to customise speed and gravity of admin while editing spawns
- Fixed knife sometimes not being given
- Fixed a possible crash when setting plugin Cvars in server.cfg
- Fixed last use weapon not being correctly set at first secondary selection
- Fixed a possible error on fast switch if weapon is stripped right after it has ben given
- Fixed incorrect value output by dm_spawns_stats
v0.8.4 08/05/2014:
- Enhanced spawn position calculations
- Decreased admin gravity when editing spawns
- Fixed weapon ammo restock that could be not functional in some rare cases
- Fixed an error that could occur on weapon limit enforcement
- Fixed weapon menu not being displayed to admin after configuration load through menu
- Added dm_spawns_stats command to get spawn statistics
v0.8.3 04/05/2014:
- Fixed C4 being incorrectly killed at round start by weapon limit enforcer (thanks to Loki)
- Fixed weapon menu not being re-displayed on game mode changed by admin
v0.8.2 28/04/2014:
- Fixed primary weapon menu not being displayed with random menu enabled
v0.8.1 27/04/2014:
- Added sounds on weapon removal and transfert
- Fixed a bug where client would constantly try to get a weapon at spawn after it has been transfered
- Fixed a bug when removing player weapon could fail on unlisted weapons
v0.8.0 26/04/2014:
- Global refactor and enhancement on weapons tracking system
- Menus are now queud and re-displayed on player spawn if needed
- Added limited weapons rotation between clients
- Added defuser allocation through dm_defuser Cvar
- Enhanced weapon removal
v0.7.14c 24/04/2014:
- Updated gamedata
v0.7.14b 13/04/2014:
- Fixed incorrect Cvar names for dm_hp_to_kevlar_ratio dm_hp_to_kevlar_mode
v0.7.14 13/04/2014:
- Added German translation (thanks to Newbie1992)
- Removed Cvar dm_armour replaced by dm_kevlar_start
- Added Cvars dm_kevlar_start, dm_kevlar_max
- Added Cvars dm_hp_nade, dm_hp_to_kevlar_ratio, dm_hp_to_kevlar_mode, dm_hp_to_helmet
- Previous Cvars allow to reward player with kevler and helmet on kill
- Added Cvar dm_replenish_clip_nade
- Fix a bug that would prevent player to change Pistol and may crash the server
v0.7.13 08/04/2014:
- Added command 'dm_spawns_test <first|next|prev>' to test spawn points
- Added admin menu items for testing spawn points
- Fixed rank ladder Cvar having no action on plugin since last release
- Fixed player being awarded a kill on suicide
- Small fixes on weapon equip system
v0.7.12 06/04/2014:
- Enhanced spawn choice performance
- Correctly filtered spawn using SDK IsTriggered function and checking for point to be clear of player
- Spawn system can now be used on original map spawns using dm_normalspawn_internal Cvar
- Renamed Cvar dm_randomspawn_median_distance_ratio to dm_spawn_median_distance_ratio
- Added Cvar dm_spawn_min_team_distance_ratio to specify minimum spawn distance to teammates
- Added Cvar dm_normalspawn_los to anable LOS on normal (non random) spawns
- Internal spawn system will now try to spawn player were action happens
- Fixed dm_onlyhs that logged an error on c4 explosions
- Fixed c4 being stripped even if remove ojectives is 0
- Fixed DHooks extension not being optional
- DHooks extension can now be unloaded at runtime
v0.7.11 03/04/2014
Following enhancement need Dynamic Hooks extension https://forums.alliedmods.net/showthread.php?t=180114
- Enhance player DM spawn when mp_randomspawn is active and if custom DM spawns are available
- Spawn enhancement Line Of Sight can be enabled through mp_randomspawn_los
- Optimum Spawn distance between players is specified with randomspawn_median_distance_ratio (default 0.2)
Target spawn distance to other player = ratio * maximum distance between DM spawn points
Plugin will try to get as near as possible to this distance with LOS clear (if _los Cvar is 1)
- Fix a bug where one lucky player per team could keep its limited weapon after admin dm_weapon_limit
v0.7.10 31/03/2014
- Refactor of weapon handling, entities are now tracked using m_iHealth props (unused)
- Improved weapon reload performance an code maintainability
- Fixed first round configuration loading if a Mod was required for nextround during warmup
- dm_replenish_clip_headshot/knife now override dm_replenish_clip if set
- dm_zeus can now be -1 (inifinite taser), 0 no taser or > 0 for numbered taser shot
- Improved weapon equip after weapons choices
- Now properly handles knife and taser when re-equiping players
- When editing spawn points, editor is now invisible/god and won't blok other players BUT will be blocked by them
- Fixed players being partially stuck after spawning on some non-flat surfaces
- Fixed rankme ladder display being trucated whan HTML chars appeared in player's name
- Added advanced Cvars dm_entity_remove_plugin and dm_entity_remove_user to specify which entities shall be removed (Advanced users)
v0.7.9 23/03/2014
- Added dm_replenish_clip_headshot and dm_replenish_clip_knife Cvars
- Added dm_onlyhs_allowtaser Cvar
- Fixed a bug with dm_onlyhs_allownade that didn't worked
- Fixed a bug That would display error in log when loading 'Primary' and 'Secondary' sections
- Fixed a bug that would display weird char in hint if message text started with {CARRIAGE_RETURN}
- Enforced weapon limits after respawn command
v0.7.8 22/03/2014
- Added only headshot Cvars
- Fixed regression on HP reward that did not acounted knife or HS
- Added weapon control command dm_weapon_add/dm_weapon_remove/dm_weapon_limit
- Added option in 'SectionOptions': 'PlayerDisplay' which if non void define how section is displayed to player
If it is set to '', player won't be notified on section load
If ommitted, player will get the same name admin has (AdminMenuName, or section name)
- Added new Normal section 'WeaponAdd', 'WeaponRemove' to incrementaly add or remove weapons
- Weapon can now be specified withou 'weapon_' prefix (in both admin command and .ini
- Rename 'KeepedLoads' => 'KeptLoads', although fisrt one is still allowed for backward compatibility
v0.7.7 19/03/2014
- Improved performances by saving gun at death instead of spawning it at player spawn
- Added pragma '#LoadType' which can have values
. 'LockedLoads': Next loaded Cvars can't be overwritten
. 'UnlockedLoads': Next loaded Cvars can be overwritten (Default)
. 'KeepedLoads': Next loaded Cvars and messages won't be restored when admin loads a mod
. 'RestoredLoads': Next loaded Cvars and messages will be restored when admin loads a mod (Default)
- Cvars modified by plugin are now no longer notified to clients
- Fixes respawn functions that respawned spectators also
- Fixes respawn functions that could fail to respawn a player
- Enhanced weapon give for better performance and player experience
- Various improvements and recode
v0.7.6 16/03/2014
- Added cvar dm_gun_menu_triggers that list gun menu say triggers (default 'guns gns buy')
- Filtered gun menu display if client spectates
- Added 'KeepClientSettings' optional to 'LoadAsAMod'. If set, client weapon choices will not be reset when dm_load_mod loads this section
- Added workshop map support for both .ini file and spawn points
- Fixed incorrect warning when saving spawns whith only DM points
v0.7.5 15/03/2014
- Improved plugin performances by no longer killing then spawning knife at player spawn
- Added Cvar to remove Entities that may Give/remove weapons to player: dm_remove_map_weapons
- Suppressed C4 pickup message (Untested)
- Added new command and menu: dm_load_mod, which has the same behaviour as dm_load but does not unload previous configuration
- Added new Key for SectionOptions configuration 'LoadAsAMod', which allows to list the section in Modifier menu
- 'AdminMenuName' now treat '/' as a section seprator for building submenus
- Added new Key for Message sections: 'NoReDisplayTime', that will not display a message if already displayed displayed since less than that duration
- Tried to fix weapon menu appearing completely trasparent by delaying its display on spawn
v0.7.4 14/03/2014
- Improved performances
v0.7.3 14/03/2014
- Fixed section loading whilst not in warmup
v0.7.2 12/03/2014
- Fixed a bug that cause the spawn auto positionning to be far to heavy on steep slopes
- Improved admin menu readability
v0.7.1 11/03/2014
- Added Cvar dm_fast_equip that allows to fire instantly when a weapon is equiped by the plugin (1 by default)
- Added 'equip' option to dm_load that will not respawn players but will instantly equip weapon/armor/health/... after loading a section
- dm_load now shows activity in chat when used
- Fixed client that might have incorrect weapon when loading configuration
v0.7.0 09/03/2014
- Added a deathmatch admin menu (command sm_dm, or !dm in chat)
- Added dm_spawns_import command to retrieve original map spawns
- Added new configuration subsection content 'SectionOptions' that can have a 'AdminMenuName' value. If present, section will be loadable through admin menu
- Fixed 'dm_load [...] nextround' that now works correctly even if nextround is first round (after warmup)
- Fixed 'dm_load' that now properly revert previous configuration before loading
- Fixed potential infinite recursion when creating a spawn point at some inappropriate zones
v0.6.6 08/03/2014
- Fixed incorrect automatic spawn placement, at great processing power expense
- Fixed hint and chat during spawns creation that would show 0 map spawns in map if no user spawn exist
v0.6.5 03/02/2014
- Added Updater support https://forums.alliedmods.net/showthread.php?t=169095
- Added chat information for spawns editing + warning when saving with not enough point
- Added an indication in hint of each type of spawn count
- Vastly improved spawn automagic placement correction performance
- Restored ConVars after warmup are no longer notified to clients
v0.6.4 25/02/2014
- Added a check when creating a spawn. Spawn point is automagically positioned to the nearest suitable area if needed.
This function can get pretty heavy and cause serious lag when creating a spawn point on existing spanws!
- Added a check on available map spawn and user spawn count. If map spawn point count is not under user spawn count, user spawns are not loaded (error log gets all the needed info). This is to prevent a crash.
v0.6.3 23/02/2014
- Fixed a bug that could cause an infinite respawn loop after warmup (thanks to cyberdeath)
- Spawns are now only displayed to the issuer of dm_spawns_show command
- Minor fixes
v0.6.2 23/02/2014
- Fix 2 other possible source of crash and misbehavior in spawn system
v0.6.1 23/02/2014
- Fix spawn system that could crash the server
- Added offset when creating spawns to be able to spawn over props
v0.6 22/02/2014
- Added spawn point editing support using commands dm_spawns_show/dm_spawns_add/dm_spawns_delete/dm_spawns_save
- Optimized weapon infinite ammo to decrease CPU load
v0.5 17/02/2014
- Warmup can now be disabled by setting dm_warmup_time 0
- Any spawned weapon that is not assigned to a player will be removed
- Added new admin commands dm_respawn_dead and dm_load
v0.4.1 13/02/2014
- Added new pistol CZ75-Auto
v0.4 08/02/2014
- Display in hint a ladder based on RankMe stats on connected players
- Fix a duplicate bug at spawn or first connect
- Now display message for spectator also
- Fix gun menu being transparent at spawn
v0.3.1 25/01/2014
- Fixed C4 removal when dm_remove_objectives is true
- Some bug fixes with warmup and Messages
v0.3 21/01/2014
- Added dm_enable_random_menu (1 by default) to show the "Random" item in weapons menu
- Updated advertisement system
. Color tags can now be used for chat messages: {NORMAL}, {DARK_RED}, {PINK}, {DARK_GREEN}, {YELLOW}, {LIGHT_GREEN}, {LIGHT_RED}, {GRAY}, {ORANGE}, {LIGHT_BLUE}, {DARK_BLUE}, {PURPLE}
. {CARRIAGE_RETURN} can be used for Hint and Alert DisplayTarget
. Corrected wrong support of special char (removed UTF8 support for now)
. Recode and bug fixes
v0.2 19/01/2014
- Added translation support
- Added dm_hide_radar Cvar (1 by default)
v0.1-beta 19/01/2014:
- Initial release