Thank you it works on RC6 now

! Sorry I did not see functions have changed theirs names
I have still my old bugs, but now I can test them with a better version of AMXX
I have seen you have made a nice work with stats.sma, congratulations! And I have found in your code a flag (for wpnindex) I needed: DODW_MORTAR . Before that, I could not detect an attack with this weapon (wpnindex returned nothing).
And I've just seen a new documentation for dodx. Nice!
AND AGAIN THANK YOU!
NB: I have edited the files and the code.