Raised This Month: $ Target: $400
 0% 

Double Knife Frag [SEARCH]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 05-12-2015 , 10:06   Re: Double Knife Frag [SEARCH]
Reply With Quote #2

here you go :
PHP Code:

#include <amxmodx>
#include <fun>

public plugin_init() {
    
register_event("DeathMsg""knife_death""a");
}

public 
knife_death()
{
    new 
id read_data(1)
    new 
weaponid[10]
    
read_data(4weaponidcharsmax(weaponid))
    
    if(
equal(weaponid"knife"))
    {
        
set_user_frags(id,get_user_frags(id)+2)// you can edit your self now it will add 2 frag
    
}

Attached Files
File Type: sma Get Plugin or Get Source (knife.sma - 777 views - 367 Bytes)
__________________
Thanks everyone. #miss_you_all
indraraj striker 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 20:13.


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