Raised This Month: $ Target: $400
 0% 

Delete! Sorry!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 06-05-2018 , 13:39   Re: [HELP] Get victim's weapon name
Reply With Quote #3

Maybe?

PHP Code:
public fw_takedamage(victiminflictorattackerFloat:dambits)
{
 if (!(
bits DMG_BULLET && inflictor == attacker))
  return 
HAM_IGNORED

 client_print
(inflictorprint_chat"[TAKEDAM] Weap:%d Damage:%f"get_weapon(victim), dam)
 return 
HAM_IGNORED

iceeedr is offline
Send a message via Skype™ to iceeedr
 



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 04:36.


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