Raised This Month: $ Target: $400
 0% 

Knife Speed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dr.G
Senior Member
Join Date: Nov 2008
Old 04-15-2009 , 09:53   Re: Knife Speed
Reply With Quote #6

if you wanna strip him btw...


PHP Code:
public knifemod(id)
{
 
 if(!
get_pcvar_num(p_enable))/* p_enable is NOT positiv STOP */
  
return PLUGIN_HANDLED
 
 strip_user_weapons
(id/* strip */
 
 
give_item(id"weapon_knife"/* give */
 
 
cs_set_user_armor(id100CS_ARMOR_VESTHELM)
 
 
set_user_health(idget_user_health(id) + get_pcvar_num(p_health))
 
 
set_user_maxspeed(idget_user_maxspeed(id) + get_pcvar_num(p_speed))
 
 
client_print(idprint_chat"%L"LANG_PLAYER"KNIFE_HP"get_cvar_num("amx_knife_hp"))
 
 return 
PLUGIN_CONTINUE

__________________
Dr.G 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