Raised This Month: $51 Target: $400
 12% 

Solved SDKHooks_TakeDamage error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ayyyyyyylmao
Junior Member
Join Date: Apr 2018
Old 04-15-2018 , 06:39   SDKHooks_TakeDamage error
Reply With Quote #1

"SDKHooks_TakeDamage" reported: SDKHooks_TakeDamage is not supported on this engine.

What i can use instead this?

Last edited by ayyyyyyylmao; 04-16-2018 at 03:50.
ayyyyyyylmao is offline
PinHeaDi
Senior Member
Join Date: Jul 2013
Location: Bulgaria
Old 04-15-2018 , 07:02   Re: SDKHooks_TakeDamage error
Reply With Quote #2

PHP Code:
public void OnClientPutInServer(int client)
{
    
SDKHook(clientSDKHook_OnTakeDamageAliveOnTakeDamage);
}

public 
void OnClientDisconnect(int client)
{
    
SDKUnhook(clientSDKHook_OnTakeDamageAliveOnTakeDamage);
}

public 
Action OnTakeDamage(int victimint &attackerint &inflictorfloat &damageint &damagetype)
{


__________________
PinHeaDi is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 04-16-2018 , 01:16   Re: SDKHooks_TakeDamage error
Reply With Quote #3

Quote:
Originally Posted by ayyyyyyylmao View Post
"SDKHooks_TakeDamage" reported: SDKHooks_TakeDamage is not supported on this engine.

What i can use instead this?
Maybe this https://github.com/ESK0/Call-of-Duty...s/misc.sp#L539
ESK0 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 04-16-2018 , 09:31   Re: SDKHooks_TakeDamage error
Reply With Quote #4

Quote:
Originally Posted by ayyyyyyylmao View Post
"SDKHooks_TakeDamage" reported: SDKHooks_TakeDamage is not supported on this engine.

What i can use instead this?
What game is this for?
psychonic is offline
Reply



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 11:55.


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