Raised This Month: $ Target: $400
 0% 

Orpheu signture EntSelectSpawnPoint()


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
11922911
Senior Member
Join Date: Dec 2011
Location: Yuen Long Country
Old 04-22-2016 , 22:03   Orpheu signture EntSelectSpawnPoint()
Reply With Quote #1

I tried this
Code:
{
	"name" : "EntSelectSpawnPoint",
	"library" : "mod",
	"arguments" :
	{
		"type" : "CBaseEntity *"
	},
	"return" :
	{
		"type" : "edict_s *"
	},
	"identifiers" :
	[
		{
			"os"    : "windows",
			"mod"   : "cstrike",
			"value" : [0x53,0x8B,"*","*","*",0x55,0x56,0x8B,"*","*",0x57,0x8B,"*","*","*","*","*",0x89]
		},
		{
			"os"    : "linux",
			"mod"   : "cstrike",
			"value" : "find later"
		}
	]
}
PHP Code:
#include <amxmodx>
#include <orpheu>

public plugin_init()
{
    
OrpheuRegisterHook(OrpheuGetFunction("EntSelectSpawnPoint"), "OnEntSelectSpawnPoint_Post"OrpheuHookPost);
}

public 
OnEntSelectSpawnPoint_Post(id)
{
    
server_print("EntSelectSpawnPoint(%d) -> return %d;"idOrpheuGetReturn());
    
client_print(0print_chat"EntSelectSpawnPoint(%d) -> return %d;"idOrpheuGetReturn());

But it doesn't seems to work, function not found.
__________________
youtube:
@holla16

Last edited by 11922911; 04-23-2016 at 01:26.
11922911 is offline
 



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 18:42.


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