View Full Version : OnPlayerDeath problem.

29/02/2016, 05:39 AM
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!

29/02/2016, 09:06 AM
show us your onplayerdeath

29/02/2016, 09:12 AM
As I said I commented everything inside OnPlayerDeath. It seems that there is a problem with newcallbacks by emmet. I removed it for a while and it seems that it's working now.