sourcemod/tools/buildbot
BotoX 865fa37ed9 Added hack to make plugins open a menu with all possible targets on ReplyToTargetError COMMAND_TARGET_AMBIGUOUS.
Explanation:
There are two clients in the server, one named gene, the other one "Ene ~special characters~".
An admin issues "sm_slay Ene" and gets following error message: More than one client matched the given pattern.
What this hack will do is: Use GetCmdArg(0, ...); to get the command name "sm_slay".
Use GetCmdArgString(...); to get the arguments supplied to the command.
Use GetLastProcessTargetString(...); (which was implemented in this commit) to retrieve the arguments that were passed to the last ProcessTargetString call.
It will then pass this data to the DynamicTargeting plugin through its AmbiguousMenu native.
The plugin will open up a menu on the client and list all targets which match the pattern that was supplied to ProcessTargetString.
If the client selects a menu entry, FakeClientCommand will be used to re-execute the command with the correct target.
2019-09-21 20:29:53 +02:00
..
bootstrap.pl Checkout submodules recursively. 2015-03-15 19:31:34 -07:00
BreakpadSymbols Fix build. 2017-10-02 07:40:58 -05:00
build_type Central place to mark releases so buildbot symbols aren't scrapped by purge script (bug 3809, r=me, a12=NPOTB). 2009-05-12 19:06:57 -04:00
generate_headers.py Fix build when product.version is mangled (#679) 2017-09-10 01:17:35 +01:00
helpers.pm Fix spacing. 2014-05-25 12:10:25 -07:00
package.pl Get GeoIP data from SM site for now 2019-01-19 12:27:23 +00:00
PackageScript Added hack to make plugins open a menu with all possible targets on ReplyToTargetError COMMAND_TARGET_AMBIGUOUS. 2019-09-21 20:29:53 +02:00
startbuild.pl Switch buildbot scripts to AMBuild 2 (bug 5997 part 15, r=ds). 2013-12-30 17:51:01 -05:00
symstore.pl Switch packaging scripts to Git. 2014-05-25 12:05:24 -07:00
upload_symbols.py And the last piece of the puzzle... normalise the slashes. 2015-11-05 17:45:26 +00:00
Versioning Fix build. 2014-05-28 21:10:40 -04:00