Closed karl-police closed 5 years ago
Why would you call a hook called ‘OnPlayerCharacterInitialized’ inside a hook callback called ‘PlayerCharacterInitialized’? The hook already exists!
Also we don’t prefix hooks with ‘On’, and we call hooks with ‘cwPlugin:Call’ not with ‘hook.Call’ as that is just for regular GMod hooks.
No, PlayerCharacterInitialized sadly doesn't work how I wanted it to work. I require OnPlayerCharacterInitialized, because I need all the information
which class got assigned, because after it got initialized it will check for the rank and assign it a class, which when I just use PlayerCharacterInitialized can not be achieved, it will give me the wrong information.
I really need a hook that gets called just right after that has been done.
fixed the typo
Added a new hook called PlayerCanTakeKnockbackFromDamage
Added a hook that gets called after the character initialized