Commit Graph
23 Commits
Author SHA1 Message Date
Nicholas Hastings d9128d874b Switch from FloatCompare to < operator in vote plugins 2026-07-12 10:49:59 -04:00
Maxime Leroy 4989666d72 Add logging to all basevote vote results (#1794) 2022-10-30 23:26:17 +01:00
Gaben 6e1f095186 Allow h-flag admins to bypass vote delay (#1733) 2022-04-12 11:19:54 +01:00
V dc8a22a76a Inline one-expression single-use functions (#1700) 2022-02-25 10:39:45 +01:00
Ҝℴţأķ f5461df28c Remove hardcoded question mark from sm_vote (#1699) 2022-02-03 10:56:25 +00:00
Headline e786ff54f7 Prevent enum shadowing & pin sourcemod for build fixes (#1661) 2021-12-10 14:22:04 -08:00
Loïc 52c4d08e15 Improve logging on map/generic votes (#1362) 2021-03-08 05:02:20 -08:00
Accelerator74 2d971a9fb7 Prevent voteban evading & add ban length cvar (#1249) 2020-06-13 16:00:44 -07:00
Loïc 6addc5c8dd Fix wrong formatting to "Vote Delay Minutes" when delay above 60s (#1009)
Fixes #1007
2019-05-13 00:20:47 +01:00
Ҝờţأķ 7f9ceaac06 basevotes: Fix buffer size for workshop obtained levels. (#956) 2019-03-03 15:00:24 -08:00
Michael Flaherty 12fca79006 Prevent use of primitive float operation functions (#763)
Apparently people use the float natives for actual float arithmetic; they're not really intended to be used directly.

* Prevent use of primitive float operation functions
* Deprecate float operation functs
* Alias Float natives to internal names
* Add clarifying note
* Remove use of internal FloatDiv native
2018-02-02 23:27:38 +00:00
Timocop ea6cf26929 Ignore vote actions if target is no longer available (#649) 2017-08-22 20:56:12 +01:00
Maxim Telezhenko 68c00b8ae7 Remove superfluous assignment after delete (#654) 2017-08-22 20:55:04 +01:00
Luki e74b5807a9 Add AutoExecConfig native call to basevotes.sp (#534)
Basevotes convars are missing from sourcemod.cfg and there is no config file for this, so I added AutoExecConfig.
2016-10-14 13:16:45 -07:00
ErikMinekus d9fb0ba64e Update base plugins for transitional syntax (#507) 2016-05-11 10:44:58 -04:00
Ross Bemrose 10a95cfdce Add new function: GetMapDisplayName.
This function will resolve the name of a map using FindMap, then (if applicable), will turn a workshop map name into a nicely formatted name.

Currently only TF2 and CS:GO Map Workshops are supported.  More can be added at a later date.

This function returns false if a map was not found, but true in any other instance even if FindMap could not resolve the map name.

This patch also updates the following core plugins to use this GetMapDisplayName:

BaseTriggers
BaseVotes
MapChooser
NextMap
Nominations
RandomCycle
RockTheVote
2015-09-15 16:16:58 -04:00
David Anderson 1328984e0b Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
David Anderson 61bf7de101 Revert adminmenu API changes. 2014-12-12 10:10:46 -08:00
David Anderson e68c228a36 Port basevotes.sp. 2014-11-09 16:29:44 -08:00
David Anderson b97335ccb0 Port TopMenus to transitional syntax. 2014-10-30 19:20:33 -07:00
Nicholas Hastings c0d1aaa8a0 Allow localizaton of more base plugin strings (bug 5120, r=asherkin). 2013-04-08 08:00:13 -04:00
Matt Woodrow c75d607a00 - Added ForceChangeLevel and Map History to nextmap api
- Changed base plugins to use new api
- Added sm_maphistory command to nextmap.sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402413
2008-07-13 05:13:37 +00:00
Scott Ehlert 251cced1f8 Spring Cleaning, Part Ichi (1)
Various minor things done to project files
Updated sample extension project file and updated makefile to the new unified version (more changes likely on the way)
Updated regex project file and makefile

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401971
2008-03-30 07:00:22 +00:00