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

Remove player's weapon base on life stat


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 09-19-2019 , 06:02   Remove player's weapon base on life stat
Reply With Quote #1

Hi there,
What i'm trying to do is remove a player's weapon when they drop it and when they are alive but when they got killed they drop the weapon

i used SDKHooks to do so and used SDKHOOK_WeaponDropPost to handle the stuff but the thing is when ever i use IsPlayerAlive it returns true it's like dropping the weapon happens before the actual player death where the IsPlayerAlive function could return false

is there any tips you guys can provide me? thanks
__________________

Last edited by ambn; 09-19-2019 at 06:02.
ambn 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 07:47.


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