Check if csx is actually loaded by typing 'amxx modules' in server console.
@Gadzislaw007
You don't really answer to 1st post, you only give an alternative.
Also, your callbacks don't match to declarations in plugin_init, and also, with a logevent you can't retrieve a player id just passing an index in the callback, read again VEN's thread.