PHP Code:
new OrpheuFunction:SetAnimation = OrpheuGetFunction( "SetAnimation", "CBasePlayer" );
OrpheuRegisterHook( SetAnimation, "OP_SetAnimation" );
PHP Code:
public OP_SetAnimation(const player, ???){
}
PHP Code:
{
"name" : "SetAnimation",
"class" : "CBasePlayer",
"library" : "mod",
"arguments" :
[
{
"type" : "PLAYER_ANIM"
}
],
"identifiers":
[
{
"os" : "windows",
"value" : "?SetAnimation@CBasePlayer@@QAEXXZ"
},
{
"os" : "linux",
"value" : "SetAnimation__11CBasePlayer11PLAYER_ANIM"
}
]
}
then I just want to hook SetAnimation