View Single Post
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