|
|
|
#1 (permalink) | ||||||||||||||
|
New to Overclock.net
|
Can anybody code a plugin that makes you run 25% faster with knife for CS?
This doesn't work... #include <amxmodx> #include <amxmisc> #include <fun> public plugin_init() { register_plugin("Knife Speed", "1.0", "BAILOPAN") register_event("CurWeapon", "hook_weapon", "b") register_cvar("knife_speed", "500") } public hook_weapon(id) { new wp = read_data(2) if (wp == CSW_KNIFE) { set_user_maxspeed(id, get_cvar_float("knife_speed")) } else { set_user_maxspeed(id, float(320)) Thanks, -Billy
__________________
Put this in your sig if you're an Immortal Technique Soldier Quote:
E6300 @ 3.5 Proof
Last edited by redsox83381 : 06-18-08 at 07:31 PM. |
||||||||||||||
|
|
|
|
|
#2 (permalink) | ||||||||||
|
Networking Nut
|
Take a look at this: http://forums.alliedmods.net/showthread.php?p=378952 It can easily do what you want it to do, plus a little more.
__________________
|
||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|