Kyle Sanderson
274e7bd329
Add FileTransfer Hooks to SDKTools (r=Drifter).
2015-09-12 13:01:33 -07:00
Kyle Sanderson
f59df243ea
Change FindMap to take a const char* for searching instead of char*.
2015-09-10 11:47:46 -07:00
Kyle Sanderson
d85568b54b
Merge pull request #321 from Bara20/getentityrendercolor
...
Add GetEntityRenderColor stock.
2015-09-08 16:22:16 -07:00
Sebastian K
e030bb4451
Add define included
2015-08-19 20:27:33 +02:00
David Anderson
246c32a202
Update SourcePawn and AMTL.
2015-08-13 22:08:47 -07:00
David Anderson
bcfef75c5d
Update regex and datapack includes to not use binding syntax.
2015-08-12 11:52:57 -07:00
Ryan Stecker
86b04e36b5
Clarify the Get/SetPackPosition documentation.
2015-07-20 15:03:57 -05:00
Ryan Stecker
33d13ff81c
Hide datapack positions behind an opaque handle.
2015-07-20 15:03:04 -05:00
Nicholas Hastings
e7aa159896
Clarify doc regarding KV handle.
2015-07-12 19:21:28 -04:00
Nicholas Hastings
c85cc5cbf7
Add support for listening to, blocking, changing, and faking ClientCommandKeyValues.
2015-07-12 13:14:46 -04:00
Nicholas Hastings
e0a83ff7b2
Add support for setting string_t values with SetEntPropString.
...
Adds new AllowPooledString func to CHalfLife2 to allocate a string in the game's string pool.
Also fixes SetEntPropString using incorrect offset for nested sendprops.
2015-07-02 14:47:31 -04:00
Nicholas Hastings
60ac7e23d0
Updated FindMap function doc.
2015-06-27 20:04:20 -04:00
Nicholas Hastings
f107ff9cd2
Expose FindMap/ResolveFuzzyMapName to plugins.
2015-06-27 13:10:47 -04:00
Nicholas Hastings
d0574dbe28
Merge pull request #226 from powerlord/mapchooser-updates
...
More New API changes for MapChooser, Nominations, RockTheVote, RandomCycle, and NextMap.
2015-06-12 14:58:12 -04:00
Nicholas Hastings
13ecd11543
Merge pull request #344 from alliedmodders/update-convar-flags
...
Update ConVar flags in console.inc.
2015-06-07 11:18:27 -04:00
Ross Bemrose
ba0bf5668d
One minor issue left from the merge
2015-06-04 21:42:25 -04:00
Ross Bemrose
338b4ed5d9
Merge remote-tracking branch 'remotes/origin/master' into mapchooser-updates
...
Conflicts:
plugins/nominations.sp
plugins/rockthevote.sp
2015-06-04 21:39:04 -04:00
Ryan Stecker
8bc3d5d93c
Fix more buffer sizes for map names.
2015-06-04 18:32:49 -05:00
Nicholas Hastings
74802ce96e
Minor indent fix.
2015-06-04 17:07:25 -04:00
Nicholas Hastings
952ee53383
Converted back to defines. Added deprecation notices on FCVAR_PLUGIN and FCVAR_LAUNCHERONLY.
2015-06-04 06:48:01 -04:00
Nicholas Hastings
1804dce9d9
More small convar flag inc changes:
...
* Re-added FCVAR_PLUGIN (shimmed to 0) and FCVAR_LAUNCHER with deprecation notes.
* Changed defines to const ints.
* Updated comments to use our newer, single-line comment style for cleanliness.
2015-06-03 23:38:31 -04:00
Nicholas Hastings
4231adaedf
Update ConVar flags in console.inc.
...
The existing list was from the original engine, not even being accurate for EP1.
Flags that were never used and have since been removed from headers were removed.
Flags that were removed, but were used at one time co-exist with new flags that took over their value where applicable.
Flags that only exist on some engine versions are noted as such in the comment.
2015-06-03 23:06:26 -04:00
Nicholas Hastings
9e0dbfcf68
Fix inconsistencies with buffer sizes for player names.
...
Found any I could not using MAX_NAME_LENGTH and changed them to use it. I think that we should
increase MAX_NAME_LENGTH to 128 for CS:GO at some point as that's what it uses internally.
(Presumably to get the client's full multibyte name from Steam without truncation mid-codepoint which
can happen in other games. Steam's max is 32 characters if I remember correctly, but allows multibyte chars).
2015-06-03 22:40:43 -04:00
Nicholas Hastings
5139eef183
Fix buffer sizes used for map names (64 -> MAX_PATH).
...
As more games are now supporting maps nested in subfolders or in folders outside of the maps folder,
we need to account for the full path that the game uses to refer to the map for compatibility. Many other
places for fixed for this already after CS:GO added Steam Workshop support for maps.
2015-06-03 22:28:58 -04:00
Nicholas Hastings
9f8a40f482
Merge pull request #337 from alliedmodders/earlier-maxclients
...
Populate MaxClients before OnPluginStart is called.
2015-05-20 06:48:08 -04:00
Nicholas Hastings
fc2fe79fe7
Fix regression in admin-sql-threaded when porting to transitional syntax.
2015-05-18 10:15:17 -04:00
Nicholas Hastings
cb4b710885
Removed comment regarding MaxClients not being available in OnPluginStart.
2015-05-18 09:11:57 -04:00
Nicholas Hastings
fda0978225
Merge pull request #338 from alliedmodders/nuke-address-minvalid
...
Remove Address_MinimumValid entry from sp incs
2015-05-12 13:05:31 -04:00
Nicholas Hastings
51344262c6
Merge pull request #333 from TheMadSword/IncreasedPrintToBufferSize
...
Increased PrintToChat, PrintCenter & PrintHint w/ "all" version, buffer sizes from 192 to 254.
2015-05-12 09:23:25 -04:00
Nicholas Hastings
5574acda3d
Remove Address_MinimumValid entry from sp incs
...
We have this defined in core for error checking, but it's useless in sp since unsigned comparisons are not supported.
2015-05-12 06:35:48 -04:00
TheMadSword
6686badc93
Increased PrintHint and PrintCenter buffer
2015-05-09 09:22:07 -04:00
TheMadSword
f57dbeb60f
Increased PrintToChat & PrintToChatAll buffer size from 192 to 254; works in CSS/CSGO; dunno for the rest
2015-05-07 09:38:25 -04:00
Nicholas Hastings
909598920b
Disable nextmap on Black Mesa for now. (Doesn't ship with mapcycle.txt).
2015-05-06 22:01:57 -04:00
Nicholas Hastings
64f9aedebc
Add basic support for Black Mesa.
...
(Basically a copy of SDK 2013's support, but against BMS SDK).
2015-05-06 21:12:13 -04:00
Bara
1748a411e1
Added GetEntityRenderColor
2015-04-04 01:38:30 +02:00
Kyle Sanderson
7a8bf78f39
Merge pull request #229 from powerlord/menuactions_all_warning_fix
...
Stop MENU_ACTIONS_ALL from tossing warnings with #pragma newdecls required
2015-04-01 19:39:52 -07:00
Nicholas Hastings
7268987461
Merge pull request #301 from alliedmodders/get-team-entity
...
Add GetTeamEntity native to SDKTools.
2015-04-01 22:30:18 -04:00
Nicholas Hastings
91302da050
Merge pull request #313 from alliedmodders/set-client-name
...
Add SetClientName native.
2015-04-01 22:29:44 -04:00
Ruben Gonzalez
35e4374e2e
Fix not being able to block CS_OnCSWeaponDrop and clarify include file.
2015-03-27 19:54:42 -04:00
Nicholas Hastings
53f9bb0402
Add missing SetClientName description in function doc.
2015-03-22 18:56:02 -04:00
Nicholas Hastings
e62654acba
Change sm_rename to use new SetClientName native.
2015-03-22 12:15:30 -07:00
Nicholas Hastings
7d795b523e
Add SetClientName native.
2015-03-22 12:15:08 -07:00
Nicholas Hastings
ae8efdddcb
Add GetTeamEntity native to SDKTools.
2015-03-10 07:27:43 -07:00
David Anderson
72475d6770
Merge pull request #295 from DoctorMcKay/fix-doc
...
Moved note about releasing resources from OnPluginStart to OnPluginEnd
2015-03-08 00:10:13 -08:00
WildCard65
a730cfe9b5
Fixed regex.inc
2015-03-07 08:07:11 -05:00
Alexander Corn
c9b6b7b212
Moved note about releasing resources from OnPluginStart to OnPluginEnd
2015-03-06 15:25:39 -05:00
Nicholas Hastings
d72a9150a1
Merge pull request #294 from alliedmodders/explicit-ret-types
...
Add explicit return types to forwards missing them (r=dvander).
2015-03-06 15:19:37 -05:00
Nicholas Hastings
bfaedba9ed
Merge pull request #287 from peace-maker/tempent_range
...
Add TE_SendToAllInRange (r=psychonic).
2015-03-06 15:19:24 -05:00
Nicholas Hastings
adbdcd6b1d
Add explicit return types to forwards missing them.
2015-03-06 10:18:09 -08:00
David Anderson
7c775aee2e
Merge pull request #288 from klausenbusk/patch-1
...
Updated KillTimer documentation to reflect "Invalid handles" = runtime error.
2015-03-06 01:52:32 -08:00