Quote:
Originally Posted by Spirit_12
This is my understanding from what I read of Peace-Maker's reply. You are to store the entity data in pre hook phase as opposed to using DHookGetParam in post hook.
I don't have a windows server running, so this is an untested version, but it should work.
|
still crash after few seconds I join the server.
I try to check if a parameter is NULL using the DHookIsNullParam in pre-hook and post-hook, it works without any errors
but still cause windows server crash, I guess windows is pretty complicated
PHP Code:
if(DHookIsNullParam(hParams, 1) || DHookIsNullParam(hParams, 2)) return MRES_Ignored;
__________________