I posted in the gserver update thread about this but I figured it would be more useful to make a thread that people can refer to for future reference.
I cannot seem to get onPlayerKilled to work at all
PHP Code:
function onPlayerKilled(){
echo(params[0] SPC params[1]);
}
That is server side and I have never attempted to use onPlayerKilled before but I assume that is how it works. I already know the parameters but I couldn't seem to get it to call the event when a player gets killed. Any ideas on what's wrong?