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:
@ -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).
|
||||
*/
|
||||
|
Reference in New Issue
Block a user