Raised This Month: $ Target: $400
 0% 

Knfie damage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ownedin3d
Senior Member
Join Date: Jul 2011
Old 11-12-2013 , 13:24   Knfie damage
Reply With Quote #1

Hello, i'm trying to make so that when you purhcase a super knife, it will deal 188 damage i've tried doing this

PHP Code:
 case 7:  
        { 
            if(
cs_get_user_money(id) < 16000)
            {
                
client_printidprint_chat,"%L",id"SHOP_ITEM_LOST");
                return 
PLUGIN_HANDLED;
            }
            else
            {            
         
           
cs_take_user_money(id16000)
           if( 
get_user_weapon(id) == CSW_KNIFE ) {
                 
SetHamParamFloat(0100.0)  
            
            
            }
                
client_printidprint_chat,"%L",id"SHOP_ITEMT_7");
            }
        } 
but it don't wrok, anyone here can help me ?

+KARMA
__________________
ownedin3d is offline
 


Thread Tools
Display Modes

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 23:14.


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