AMX Mod X - Half-Life 1 Scripting and Administration
a445e806ea
- The logic around CS_OnBuy forward has been simplified. Since there is no way to have a consistent way to hook/block for all items, the new logic is to have as less as possible code, especially in blocking mode where we want to avoid to do extra stuffs (e.g blocking sound, event, etc). * All guns + shield -> CanBuyThis() * Nvgs and Fefuser only -> CanPlayerBuy() * The others items -> GiveNamedItem() + AddAccount() * Ammos -> -> BuyGunAmmo() + GiveNamedItem() + AddAccount() - Fixed missing buyzone check when alias from console are used (CS_OnBUy* were incorrectly fired). - Fixed an infinite loop when buying of ammos are blocked. Sorted by hooking BuyGunAmmo(). - Fixed blocking mode for some items. Some game behaviors were not blocked (e.g. weapon drop). - Fixed forwards being triggered even though errors were found. Detours are now a destroyed and associated variables resetted when necessary. Toggling forwards state is now based on detours state. - Moved things in its own functions (game functions to execute, class members retrieval) - Renamed CommandAliases -> ItemInfos (more generic) |
||
---|---|---|
amxmodx | ||
compiler | ||
configs | ||
editor/studio | ||
gamedata | ||
installer | ||
modules | ||
plugins | ||
public | ||
support | ||
third_party | ||
tools | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
AMBuildScript | ||
appveyor.yml | ||
configure.py | ||
product.version | ||
pushbuild.txt | ||
README.md |
AMX Mod X
AMX Mod X - Half-Life 1 Scripting and Server Administration
General
- AMXX website
- Forum: Discussion forum including plugin/extension development
- General documentation: Miscellaneous information about AMXX
- Latest release: The latest stable AMXX release
- Build snapshots: Builds of recent development versions
Development
- Issue tracker: Issues that require back and forth communication
- Building AMXX: Instructions on how to build AMXX itself using AMBuild
- AMXX scripting: Pawn examples and introduction to the language