View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-23-2010 , 14:40   Re: Module: Orpheu2
Reply With Quote #16

Here the signatures for windows and linux.
Overwrite the contents in configs/orpheu/.

Note: It probably won't work on non-steam server.

Fast example :

Code:
public plugin_precache() {     new OrpheuFunction:SetAnimation = OrpheuGetFunction( "SetAnimation", "CBasePlayer" );     OrpheuRegisterHook( SetAnimation, "OnSetAnimation" ); } public OnSetAnimation ( const player, const animation ) {     server_print( "Set animation %d %d", player, animation ) }
Attached Files
File Type: zip CBasePlayer_SetAnimation.zip (2.5 KB, 1005 views)
__________________

Last edited by Arkshine; 01-23-2010 at 15:13.
Arkshine is offline