Reverted to use ZR Tools. Fixed class multipliers beeing reset after map configs.

SDK Hooks works, but is not yet fully compatible with weapon restrict module because of missing Weapon_CanUse event in SDK Hooks. Weapons disappear when zombies walk near them. Otherwise the extension works.
This commit is contained in:
richard
2009-11-11 22:50:19 +01:00
parent 55ecd5bb07
commit 8c1a549239
4 changed files with 18 additions and 14 deletions

View File

@ -49,6 +49,16 @@ ClassOnModulesLoaded()
ClassClientSetDefaultIndexes();
}
/**
* Called when map is loading, before configs are loaded. Used for
* initializing class module.
*/
ClassOnMapStart()
{
// Clear multipliers.
ClassResetMultiplierCache();
}
/**
* Called when a client connects to the server (OnClientPutInServer).
*/