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 , 10:06   Re: Knife Speed
Reply With Quote #7

I editted your plugin and glued it into my own. The problem is, that during freezetime it works, but after it - it doesn't


Its a part of the menu... When I open the menu and turn on a function, I want my speed with the knife to be increased (beyond the default speed). Hp and armor work just fine!

PHP Code:
public plugin_init()
{
register_cvar("amx_knife_speed""330")
}

public 
knifemod(id)
{
        
set_user_maxspeed(idget_user_maxspeed(id)+get_cvar_num("amx_knife_speed"))


Last edited by Debesėlis; 04-15-2009 at 12:48.
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