Ruben Gonzalez
b4d34ef062
Merge pull request #671 from alliedmodders/csgo-weaponpricefix
...
Fix CS_GetWeaponPrice returning incorrect weapon prices.
2017-09-04 08:49:33 -04:00
Ruben Gonzalez
a341a0e85c
Use implemented function to get weapon name.
2017-09-03 19:31:23 -04:00
Ruben Gonzalez
d8f0484327
Make IsValidWeaponID check weapon info on CS:S
2017-09-03 19:30:35 -04:00
Ruben Gonzalez
b68405b651
Fix cstrike include file.
2017-09-03 19:30:06 -04:00
Ruben Gonzalez
453e9da7c5
Intial CS:Go changes and slight changes for CS:S WeaponID related function.
2017-09-03 09:19:12 -04:00
Ruben Gonzalez
0e7a3b0173
Use keyvalue to get weapon price, change void * to appropriate class names.
2017-08-28 10:17:12 -04:00
Peace-Maker
7eef3948b1
Don't break backwards compatibility with unmanaged forwards
...
Instead of adding new functions to `IForward`, we just allow NULL to be passed to `PushArray` and `PushString`.
2017-08-25 23:23:50 +02:00
Peace-Maker
e609a33e6d
Cleanup CForward::Execute using a helper function
...
Flatten out the nesting a bit.
2017-08-25 23:23:37 +02:00
Peace-Maker
41a9889cdd
Add Call_PushNullVector and Call_PushNullString
...
Be able to push NULL_[VECTOR|STRING] to a forward or direct function call.
The callee can check the parameter using the IsNullVector/IsNullString natives.
2017-08-25 23:23:24 +02:00
Peace-Maker
3de269946c
Add IsNativeParamNullVector and IsNativeParamNullString natives
...
Lets plugins check if some other plugin passed NULL_VECTOR or
NULL_STRING to a native in the native callback.
2017-08-25 23:23:07 +02:00
Peace-Maker
9fa4ed8bac
Add IsNullVector and IsNullString natives
...
Let plugins check if a string or vector passed to a function is their
NULL_VECTOR or NULL_STRING.
2017-08-25 23:22:39 +02:00
Ruben Gonzalez
22033c21f2
Fix CS_GetWeaponPrice returning incorrect weapon prices.
2017-08-25 10:26:28 -04:00
Nicholas Hastings
d705f6a2e1
Update links in README.
2017-08-23 09:52:31 -04:00
Fyren
3d19bfd57e
damn it, duck
2017-08-22 14:02:04 -06: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
Michael
9af507a322
Remove replicated flag from sourcemod_version ( #667 )
2017-08-22 20:53:25 +01:00
Ruben Gonzalez
5f9d571e12
Fix trying to use signature function for WeaponIDToAlias on linux.
2017-08-21 15:00:22 -04:00
Ruben Gonzalez
f7d3e44b19
Fix CS:S build
2017-08-21 10:48:54 -04:00
Ruben Gonzalez
a01e9e510c
Fix using Q_strcpy instead of Q_strncpy
2017-08-21 10:35:58 -04:00
Ruben Gonzalez
3eb297bee1
Fix cstrike extension natives/forwards due to update
2017-08-21 10:28:59 -04:00
Steve Zaretti
8627c0cbfc
Fix CS:GO Reload offset ( #660 )
...
* Fix some CS:GO gamedata
I've just tested some of them.
- Weapon_Drop
- Reload
I'm testing Weapon_CanUse in few minutes
* Weapon_CanUse did not change.
* prethink did'nt change either.
* I went too fast. Only weapon vtable changed.
2017-08-19 10:00:04 -04:00
Ruben Gonzalez
cbb5c6d740
Fix Handle buy call
2017-08-18 15:24:17 -04:00
Ruben Gonzalez
955a29a4aa
Fix HandleCommand_Buy_Internal param order.
2017-08-18 15:06:20 -04:00
Ruben Gonzalez
1d9ea142c4
Update more CS:GO gamedata
2017-08-18 10:33:41 -04:00
awillinger
cb83a307ec
Fix (parts of) CS:GO gamedata ( #656 )
...
* Fix SDKTools gamedata (thanks to Rodya)
* Fix CStrike Linux gamedata
* Fix keys
* Fix keys #2
* Adjust Windows offsets as well
* Update CommitSuicide (from Bara)
2017-08-18 14:06:31 +01:00
Asher Baker
902cae595b
Include function name in cstrike ext error messages
2017-08-18 13:00:50 +01:00
shavit
b7b422f046
Removed gender from nomination changed translation phrase. ( #653 )
2017-08-15 06:53:48 +01:00
Asher Baker
01c6bb8c6f
Add an explanatory note to GetSteamAccountID
2017-08-12 13:04:26 +01:00
Nicholas Hastings
aeb52d4f45
Trigger build for hl2sdk-csgo update. ( fixes #648 ).
2017-08-06 10:37:31 -04:00
David Anderson
41bf281f1d
Merge pull request #647 from alliedmodders/revert-606-null_natives
...
Revert "Add natives to check for NULL_VECTOR and NULL_STRING"
2017-08-03 17:13:51 -07:00
Asher Baker
11aab699a5
Revert "Add natives to check for NULL_VECTOR and NULL_STRING"
2017-08-04 00:44:47 +01:00
Nicholas Hastings
1924da3527
Update Contagion tempents gamedata. ( Fixes #642 )
2017-07-28 14:12:28 -04:00
Asher Baker
2e6d02ad52
Fixup types can include additional flags in the high bytes
2017-07-27 19:31:20 +01:00
Asher Baker
e4047c3f87
Merge pull request #606 from peace-maker/null_natives
...
Add natives to check for NULL_VECTOR and NULL_STRING
2017-07-25 19:19:26 +01:00
Nicholas Hastings
fa1d4ec5d6
Merge branch 'master' of https://github.com/alliedmodders/sourcemod
2017-07-23 09:03:12 -04:00
Nicholas Hastings
bcfdef0171
Trigger build for hl2sdk-insurgency update.
2017-07-23 09:02:48 -04:00
Peace-Maker
60320cd845
Cleanup CForward::Execute using a helper function
...
Flatten out the nesting a bit.
2017-07-22 23:08:31 +02:00
peace-maker
8840ce905d
Update to latest SourcePawn ( #639 )
2017-07-18 12:48:39 +01:00
Nicholas Hastings
fd87cb6b23
Clear cached IClient ptr on disconnect ( Fixes #637 ).
2017-07-08 08:25:23 -04:00
Nicholas Hastings
29d1187434
Cache created entities by reference instead of index in SDKHooks ( #634 )
...
Fixes #663 .
2017-07-06 13:33:34 -04:00
Nicholas Hastings
fdac8a1677
Fix KeyValues.SetUInt64 truncating value ( #635 ).
2017-07-06 13:11:01 -04:00
Arthurdead
44c744b8fd
Add native to get gpGlobals->frametime ( #629 )
2017-06-26 11:18:12 +01:00
Nicholas Hastings
7f71f43c2e
Another oops-fix for SDK 2013 mods.
...
Thanks @Ne3tCode
2017-06-24 08:49:36 -04:00
Nicholas Hastings
16d7e39b57
Oops. Fix non-bot IClient lookups for older SDK 2013 mods.
2017-06-23 14:43:39 -04:00
Nicholas Hastings
9a6900a0ba
Don't let bots bypass the kick queue. It's not always safe.
2017-06-23 14:43:39 -04:00
Nicholas Hastings
e762c2ee56
Add support for IClient lookups on SDK 2013 mods with new enough engine.
2017-06-23 14:43:39 -04:00
Nicholas Hastings
c31eaa01a3
Cache player IClient pointer on connect.
2017-06-23 14:43:39 -04:00
Nicholas Hastings
338fdb37f6
Switch to C++11 class initializers for CPlayer.
2017-06-23 14:43:39 -04:00
Nicholas Hastings
79970ca5fa
Update CS:GO InfoChanged offset.
2017-06-21 14:40:42 -04:00