Raised This Month: $ Target: $400
 0% 

Get kill weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Unkolix
Veteran Member
Join Date: Sep 2012
Old 05-05-2013 , 07:54   Re: Get kill weapon
Reply With Quote #1

Quote:
Originally Posted by .Dare Devil. View Post
I think you need to check WeaponName before getting weapon id.
If weaponname == "grenade" then here is your grenade kill
Didn't quite get that...
Unkolix is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-05-2013 , 07:59   Re: Get kill weapon
Reply With Quote #2

Code:
/* Function is called after player death ,
* if player was killed by teammate TK is set to 1 */
forward client_death(killer,victim,wpnindex,hitplace,TK);
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



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