Hi,
Most likely HamletEagle will be the one to explain the stuff to me as there's not many people interested on Orpheu, so thanks Hamlet lol.
1. Does
OrpheuRegisterHook handler have no parameters or they're hidden?
2. #1 question is what confuses me about #2,
OrpheuGetParamStructMember parameter is '
num' which is argument number, how do we know what parameter we need to retrieve when we have something like this
Code:
#include < amxmodx >
#include < orpheu >
public plugin_init( )
{
register_plugin( "Orpheu Example", "1.0", "DoNii" );
new OrpheuFunction:Spawn = OrpheuGetFunction( "Spawn" );
OrpheuRegisterHook( Spawn, "@Spawn" );
}
public @Spawn( )
{
new id = OrpheuGetParamStructMember( num,const memberName[],any:... )
}
Thanks!
EDIT:
I think I found the answer for #2
PHP Code:
void Spawn(entvars_t *pevOwner);
__________________