Quote:
Originally Posted by HamletEagle
Your OrpheuGetFunction is incomplete. You want to hook Spawn from CBasePlayer class, not other class, so you need to mention that.
PHP Code:
new OrpheuFunction:Spawn = OrpheuGetFunction( "Spawn" );
->
PHP Code:
new OrpheuFunction:Spawn = OrpheuGetFunction( "Spawn", "CBasePlayer" );
Same as I did with CBasePlayer:: DropPlayerItem.
If it still doesn't work please post the Spawn file from virtualFunctions/CBasePlayer folder.
|
Oh, I didn't read the include file carefully, thanks for the fix.
I don't really have the signature for it, I randomly picked CBasePlayer::Spawn. Don't really need it, as I can do it with Hamsandwich.
By the way, I'm unable to find non-class functions in ReGameDLL such as Host_Status_f, PM_Duck, I searched everywhere but couldn't find, do you know where I can find them?
__________________