View Single Post
Cruze
Veteran Member
Join Date: May 2017
Old 07-22-2019 , 08:40   Re: [CS:GO] trying to give heath per kill
Reply With Quote #8

Quote:
Originally Posted by JoaoRodrigoGamer View Post
That worked!
Can you explain or link to anything that explains the difference of behavior of the HookEvent() in the OnPluginStart vs. OnClientPutInServer?
OnClientPutInServer is called everytime any player is connected to your server so PlayerDeath was getting hooked everytime anyone joined which will most probably cause problem whereas OnPluginStart is called when plugin runs for the first time.
__________________
Taking paid private requests! Contact me
Cruze is offline