Raised This Month: $ Target: $400
 0% 

Knife Speed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Debesėlis
Senior Member
Join Date: Aug 2008
Location: Lithuania
Old 04-15-2009 , 14:25   Re: Knife Speed
Reply With Quote #9

Only works during freezetime and then resets to normal...

PHP Code:
new p_speed;

public 
plugin_init()
{
    
p_speed register_cvar("amx_knife_speed""330");
}

public 
knifemod(id)
{
        
cs_set_user_armor(id100CS_ARMOR_VESTHELM)
        
set_user_health(idget_user_health(id)+get_cvar_num("amx_knife_hp"))
        
set_user_maxspeed(idget_user_maxspeed(id) + get_pcvar_float(p_speed))
        
client_print(idprint_chat"%L"LANG_PLAYER"KNIFE_HP"get_cvar_num("amx_knife_hp"))

Debesėlis 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 02:17.


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