sourcemod/gamedata
A1m` 59840685a4
Fix 'GiveNamedItem' in the game left4dead2. (#1590)
* Fix 'GiveNamedItem' in the game left4dead2.

The method 'CCSPlayer::GiveNamedItem(char const*, int, CBaseEntity*)' does not work in game left4dead2, any given weapon and object immediately falls to the ground, besides, the code is missing a parameter to call this method (even with the added parameter does not give a weapon to hands). Another method 'CTerrorPlayer::GiveNamedItem(char const*, int, bool, CBaseEntity*)' works great, besides it makes it possible to give out all the items that exist in the game.

* Add x64 support

Add x64 support

* Changed argument type to bool.

Changed argument type to bool.
2021-10-02 14:45:18 +00:00
..
core.games Detect invalid menu item selections in L4D-based games (#1543) 2021-07-18 20:57:13 +01:00
sdkhooks.games Update CS:GO Reload gamedata (#1585) 2021-09-23 11:44:15 +01:00
sdktools.games Fix 'GiveNamedItem' in the game left4dead2. (#1590) 2021-10-02 14:45:18 +00:00
sm-cstrike.games Update TerminateRound signature for CS:GO windows (#1486) 2021-04-29 01:24:26 -07:00
funcommands.games.txt Change sm_beacon to use game-specific team colors (#1187) 2020-02-23 14:03:00 +00:00
sm-tf2.games.txt Update Team Fortress 2 gamedata (#1509) 2021-06-22 19:19:06 +01:00