Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 06-18-08   #1 (permalink)
New to Overclock.net
 
redsox83381's Avatar
 
intel nvidia

Join Date: Apr 2007
Location: Jersey
Posts: 3,331

Rep: 185 redsox83381 is acknowledged by manyredsox83381 is acknowledged by many
Unique Rep: 140
Trader Rating: 12
Default AMX plugin.

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:
Originally Posted by Malcolm X;
Brothers and sisters, and friends -- and I see some enemies. In fact, I think we’d be fooling ourselves if we had an audience this large and didn’t realize that there were some enemies present.

E6300 @ 3.5 Proof

System: My GF bought me a 8800GT but I have no other parts
CPU
--
Motherboard
--
Memory
--
Graphics Card
Palit 8800GT
Hard Drive
--
Sound Card
--
Power Supply
--
Case
--
CPU cooling
--
GPU cooling
--
OS
--
Monitor
--

Last edited by redsox83381 : 06-18-08 at 07:31 PM.
redsox83381 is offline   Reply With Quote
Old 06-23-08   #2 (permalink)
Networking Nut
 
intel nvidia

Join Date: May 2008
Location: Mesa, Arizona
Posts: 171

Rep: 25 smm298 is acknowledged by some
Unique Rep: 24
Trader Rating: 0
Default

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.
__________________
System: My System
CPU
QX9650 @ 3.66
Motherboard
EVGA Nvidia 780i
Memory
OCZ Reaper 4GB DDR2 1066
Graphics Card
2x EVGA 9600GT 512mb
Hard Drive
2x 500gb Seagate Barracuda 7200.11
Power Supply
OCZ GameXStream 700W
Case
Antec Nine Hundred Black Steel
CPU cooling
ZALMAN 9500A
OS
Vista Ultimate 64 bit
smm298 is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 10:49 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.09895 seconds with 9 queries