Raised This Month: $32 Target: $400
 8% 

SDKHooks_DropWeapon bypasses hooks even if bypasshooks is false


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 12-26-2021 , 16:52   SDKHooks_DropWeapon bypasses hooks even if bypasshooks is false
Reply With Quote #1

If I drop a weapon this way:
PHP Code:
SDKHooks_DropWeapon(clientweaponNULL_VECTORNULL_VECTORfalse); 
Then all drop hooks are bypassed
But if I drop weapons this way, there is no problem:
PHP Code:
                float origin[3];
                
origin[0] = 0.0;
                
origin[1] = 0.0;
                
origin[2] = 0.0;

                
SDKHooks_DropWeapon(clientweaponoriginoriginfalse); 
How can I pass NULL_VECTOR and still not get drop hooks bypassed?
kadet.89 is offline
Send a message via Skype™ to kadet.89
Reply


Thread Tools
Display Modes

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 15:23.


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