29.02.2016, 05:39
Hello guys, a weird bug came up and I don't really know why it's happening. For some reason my OnPlayerDeath doesn't get called and I don't know why. With a quick search, I found out that this maybe caused because killerid is invalid but, i have commented out everything and it doesn't get called either.
BUT in console, it does print the typical [death] Rafaellos died 255 and I'm not sure why it wont call OnPlayerDeath.
I Quick debug when I use /kill to test if it works, the only callback it gets called is OnPlayerSpawn.
Any help? I would be glad!
BUT in console, it does print the typical [death] Rafaellos died 255 and I'm not sure why it wont call OnPlayerDeath.
I Quick debug when I use /kill to test if it works, the only callback it gets called is OnPlayerSpawn.
Any help? I would be glad!