Raised This Month: $ Target: $400
 0% 

Solved Orpheu natives


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-15-2018 , 08:43   Orpheu natives
Reply With Quote #1

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); 
__________________

Last edited by edon1337; 07-15-2018 at 11:24.
edon1337 is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode