Raised This Month: $ Target: $400
 0% 

Get kill weapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-05-2013 , 06:57   Re: Get kill weapon
Reply With Quote #5

Quote:
Originally Posted by didoWEE View Post
get_user_weapon(read_data(1))
That won't work for all cases - such as grenade kill. He needs to read data 4 for weapon name. You can then reformat the name and use get_weaponid().

Quote:
Originally Posted by Blizzard_87 View Post
you will need a global variable to hold the weapon name from CurWeapon event. how you put it into your stats plugin is upto you.
No, that would be inefficient and unnecessary.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

Last edited by hornet; 05-05-2013 at 07:01.
hornet 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 10:48.


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