I've been cheking the AMXMODX documentation but there are a lot of things that are not documented, like in the case of set_es function (which I need it to force a certain entity state on a player).
In the first argument it requires a "es_handle" but again, the documentation doesn't reference anything about it.