can someone tell me what to change in this to make it work with only the knife? Please dont flame me if I am requesting in the wrong area.
Quote:
#include <amxmodx>
#include <fun>
#define PLUGIN "Faster with knife"
#define VERSION "0.1"
#define AUTHOR "v3x"
#define MAX_SPEED 420.0
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
register_event("CurWeapon","Event_CurWeapon", "be","2=29");
}
public Event_CurWeapon( id )
{
set_user_maxspeed(id, MAX_SPEED);
}
|
Thanks