Commit Graph
847 Commits
Author SHA1 Message Date
»SoD« XeroX 227e324aa9 Fixed wrong return type in UserMessageToBfRead (#546)
Fixed wrong return type in UserMessageToBfRead
2016-10-06 13:55:27 +01:00
Nicholas Hastings cff585f2a1 Fixed doc on RadToDeg. 2016-10-04 12:42:22 -04:00
Nicholas Hastings 098a693c1a Fixed return doc on CharToLower, CharToUpper. 2016-10-03 19:35:49 -04:00
Asher Baker 47dd2870d9 Merge pull request #476 from alliedmodders/query-format
Implement an auto-escaping Format native for SQL query construction
2016-10-03 16:20:01 +01:00
iNilo f70a3ea297 Typo in OnRemoveBan documentation (#542)
Fix typo in OnRemoveBan documentation
2016-09-17 17:23:59 +01:00
Ross Bemrose 988d023e89 Fix /nominations returning Plugin_Continue (#532) 2016-07-31 13:16:38 -04:00
David Anderson adba0560d7 Fix syntax for SourcePawn update. 2016-07-09 12:24:18 -07:00
Nicholas Hastings cb7eeef014 Remove TFHoliday_SpyVsEngyWar - no longer exists. 2016-07-08 15:44:49 -04:00
Luki 023a3ca056 Change behaviour for mass renaming (#521)
Append number instead of randomizing when renaming multiple players.

Before the change:
sm_rename @all "Random Name" - this would rename everyone but the names would be randomized (random characters and numbers)

After the change:
sm_rename @all "Random Name" - this would rename everyone to: Random Name 1, Random Name 2, Random Name 3 ...  etc.

Description:
sm_rename can only rename 1 player at a time, when you specify a name. If you use this command on multiple players (like sm_rename @bots "A random bot"), their names get randomized(just like when you dont specify a name). So I propose this change, so you can rename multiple people.

PS:The funny thing is that there was a comment in the code about not wanting everyone to have a same name, but sm_rename doesnt a have check for this so you could use sm_rename to rename everyone, one by one, using the same name.
2016-06-20 13:24:36 +01:00
Nicholas Hastings 4eb1e8a4b0 Fix float unary minus operator not functioning properly after PR #510. 2016-06-09 21:36:46 -04:00
ErikMinekus b9f7f20046 Fixed return doc spacing for GetGameFolderName (#515) 2016-05-31 07:34:54 -04:00
Nicholas Hastings 9b3b2eb23e Fix comment and reduce branching in TF2_IsPlayerInCondition. 2016-05-21 12:55:47 -04:00
Nicholas Hastings e127a55b0a Clarified func doc for some edict/entity funcs. 2016-05-21 12:53:55 -04:00
ErikMinekus 542bb59978 Update large includes for transitional syntax #2 (#511) 2016-05-21 09:16:49 -04:00
ErikMinekus f91d659c6f Update large includes for transitional syntax #1 (#510) 2016-05-21 08:52:43 -04:00
ErikMinekus 7451257578 Update small includes for transitional syntax (#509) 2016-05-20 15:56:21 -04:00
Nicholas Hastings 20c9815619 Add support for sending gameevent to specific client. (#505) 2016-05-12 22:15:23 -04:00
ErikMinekus 6d9f46e983 Update fun plugins for transitional syntax (#508) 2016-05-11 10:56:12 -04:00
ErikMinekus d9fb0ba64e Update base plugins for transitional syntax (#507) 2016-05-11 10:44:58 -04:00
ErikMinekus e8734ccf28 Update small plugins for transitional syntax (#506) 2016-05-11 09:32:34 -04:00
ErikMinekus fb2117137e Update basebans and SQL admins plugins for transitional syntax (#484) 2016-04-27 09:34:22 -04:00
Maxim Telezhenko 730a9a4a40 Transitional Syntax for reservedslots.sp (#501) 2016-04-26 23:19:53 -04:00
Nicholas Hastings 40f2512317 Remove support for Source 1 Dota 2. (#496) 2016-04-26 23:18:47 -04:00
FlaminSarge 6dc602ad7c Update TFCond and tf2_stocks enums (#499)
* Update tf2_stocks DmgCustom and TFWeapon defines

* Update tf2 TFCond defines
2016-04-26 23:18:34 -04:00
Nicholas Hastings ed46ca3328 Add support for retrieving game server Steam Id (bug 6404). (#495) 2016-04-26 23:17:08 -04:00
akowald 283bdad552 Makes sending the change the default behavior with the GameRules_Set* natives. 2016-03-25 00:43:39 -04:00
iNilo 11253eae1c GetClientSerial does not have @error documentation
Native "GetClientSerial" reported: Client index 0 is invalid
2016-02-25 15:06:23 +01:00
TheCreeper 39d9f4da3f Be consistent. 2016-02-22 21:15:38 +00:00
TheCreeper 6d5dd40875 Add support for Empires to mapchooser. 2016-02-22 21:10:34 +00:00
Asher Baker b239430247 Merge pull request #458 from stickz/patch-5
Move repeated code in reserved slots plugin to a helper function
2016-02-15 17:11:39 +00:00
Asher Baker 700ec92a9a Implement an auto-escaping Format native for SQL query construction 2016-02-15 15:05:16 +00:00
Benoist3012 5703c323d6 Update tf2.inc 2016-02-06 15:27:09 +01:00
Benoist3012 40434f54aa Update tf2.inc 2016-02-06 13:35:37 +01:00
Peace-Maker 1c0a5b0420 Change Panel.DrawItem return tag to |int| (bug 6463) 2016-01-22 18:30:32 +01:00
Sean Lewis 52c7ef0f6f Update sourcepawn testing include to new syntax. 2016-01-06 18:35:16 -06:00
Peace-Maker d3cc797f0f Add missing |bool| return tag to RemoveFromTrie native 2016-01-05 16:52:30 +01:00
Kristian Klausen 4cba1925fd Allow plugins to suppress entity outputs (fix 5515). 2015-12-30 17:51:57 +01:00
Nicholas Hastings 7fbcb81916 Merge pull request #456 from alliedmodders/canbeautobalanced
Add support for hooking CanBeAutobalanced to SDKHooks.
2015-12-29 15:56:24 -05:00
stickz 75484c02a0 Add CheckHiddenSlots() Function 2015-11-27 12:51:38 -05:00
Nicholas Hastings 818e1e4e18 Add support for hooking CanBeAutobalanced to SDKHooks. 2015-11-26 10:35:00 -05:00
Nicholas Hastings 126ce99cd9 Resize clients array in newest NormalSHook prototype to MAXPLAYERS.
The old version of the newer one is left as a third typeset member to not break
compilation for users opting into it on dev branch. Both typeset members with
old array size are however marked as deprecated, since they can be missing
a client.
2015-11-26 09:43:08 -05:00
Nicholas Hastings 0d787e24ce Converted NormalSHook to typeset and added old prototype.
New prototype was added in PR #247
2015-11-25 17:25:35 -05:00
Asher Baker ef147860c2 Fix GetEntSendPropOffs returning 0 for missing props when actual=false
Issue introduced in #439.
2015-11-21 01:46:35 +00:00
Ross Bemrose c8caf7c860 Update FindMap testsuite plugin.
Update GetMapDisplayNAme to use platform separator on CSGO
2015-11-06 02:38:59 -05:00
Asher Baker c6323512ef Deprecate FindSendPropOffs and FindDataMapOffs, add HasEntProp. 2015-11-04 20:26:55 +00:00
David Anderson cb3f6df111 Require that no plugin code be live when any plugin unloads. 2015-10-31 19:38:30 -07:00
Asher Baker 4346e963e5 Correct spelling in API documentation. 2015-10-30 12:26:34 +00:00
David Anderson d0dda098a2 Merge pull request #429 from powerlord/sqltxn-dbresultset
Allow SQLTxnSuccess to use DBResultSet[] in addition to Handle[]
2015-10-22 23:40:28 -07:00
Nicholas Hastings 366c3c0e16 Merge pull request #425 from WildCard65/WildCard65-FixedDBI.inc
Fixed DBResultSet.IsFieldNull
2015-10-13 15:12:18 -04:00
Ross Bemrose a4b45aea9b Allow SQLTxnSuccess to use DBResultSet[] in addition to Handle[] 2015-10-13 14:50:59 -04:00