Knife Speed
How do I make a player, holding a knife in his hand run faster? (than default speed)
This thing I've written only works during freezetime and then resets to normal... PHP Code:
|
Re: Knife Speed
Use it in the curweapon event, when the weapon is knife change the speed, when is NOT, leave it alone...
PHP Code:
|
Re: Knife Speed
This is better :
Code:
|
Re: Knife Speed
I don't need the entire plugin, I need to add the code into my own plugin, so that when you enable it from a menu, you'd be given armor, hp and increased run speed.
PHP Code:
|
Re: Knife Speed
i think like this but i really dont know jack about CS
PHP Code:
|
Re: Knife Speed
if you wanna strip him btw...
PHP Code:
|
Re: Knife Speed
I editted your plugin and glued it into my own. The problem is, that during freezetime it works, but after it - it doesn't :down:
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:
|
Re: Knife Speed
oh its a float http://www.amxmodx.org/funcwiki.php?...peed&go=search
set_user_maxspeed(id, get_user_maxspeed(id) + get_pcvar_float(p_speed)) try setting it to 3 or something |
Re: Knife Speed
Only works during freezetime and then resets to normal...
PHP Code:
|
Re: Knife Speed
well fell free to take the code i made and put your name, i dont care. What happen if you say /knifetest after freeze time?
|
| All times are GMT -4. The time now is 02:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.