checking if player had a weapon when the player dies
how would I check if a player had this weapon when the player died??
i dont know if this will work Code:
public death_event() { |
By the time DeathMsg is called all of their weapons and items are gone, so you can't use get_user_weapon or anything. You have to register the Damage event, get their health, and then see if it is smaller than or equal to 0.
|
thanks
btw whats goes here? register_event("Damage","damage","2=0") |
Nothing.
|
| All times are GMT -4. The time now is 09:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.