Raised This Month: $51 Target: $400
 12% 

awp knockback


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 04-14-2005 , 03:52   awp knockback
Reply With Quote #1

A very simple plugin that adds knockback everytime a player shoots the awp.

Current Version:
V 1.2 - minor weapon fix
V 1.1 - added require_module("Engine")
V 1.0 - release

CVARS:
amx_awp_force default is 200
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 04-14-2005 , 09:53  
Reply With Quote #2

require_module()...
Johnny got his gun is offline
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 04-14-2005 , 10:30  
Reply With Quote #3

Nice Plugin! But do you think it will work on my Deathmatch server? Not for the awps but for the auto snipers since I dislike them?
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-14-2005 , 15:00  
Reply With Quote #4

Quote:
Originally Posted by XxKpAznGuyxX
Nice Plugin! But do you think it will work on my Deathmatch server? Not for the awps but for the auto snipers since I dislike them?
Just edit this line..
Code:
    if(usersweapon != CSW_AWP && !is_user_alive(id)) return PLUGIN_CONTINUE // TO- if(usersweapon != CSW_G3SG1 && !is_user_alive(id)) return PLUGIN_CONTINUE
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 04-15-2005 , 01:07  
Reply With Quote #5

Quote:
Originally Posted by Johnny got his gun
require_module()...
Cheap_Suit got his module

btw when do you need to use require_module()?
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 04-15-2005 , 06:06  
Reply With Quote #6

Thanks v3x!
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 04-15-2005 , 07:01  
Reply With Quote #7

major bug!

must say this is a major bug! I noticed in my deathmatch all of the weapon knocks back for some strange reason.. ALL I did in the sma is change CSW_AWP to CSW_SG550 and I downloaded the sma again and changed CSW_AWP to CSW_G3SG1
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
Cryonic
Senior Member
Join Date: Aug 2004
Location: Sweden..... (XCoder)
Old 04-15-2005 , 08:02  
Reply With Quote #8

Shouldnt it be:

if(usersweapon != CSW_G3SG1 || !is_user_alive(id)) return PLUGIN_CONTINUE

???
Cryonic is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 04-16-2005 , 04:42  
Reply With Quote #9

Quote:
Originally Posted by XxKpAznGuyxX
major bug!

must say this is a major bug! I noticed in my deathmatch all of the weapon knocks back for some strange reason.. ALL I did in the sma is change CSW_AWP to CSW_SG550 and I downloaded the sma again and changed CSW_AWP to CSW_G3SG1
lol, i change the code a bit.. if you want to add another sniper this is how

Code:
if(usersweapon == CSW_G3SG1 || usersweapon == CSW_AWP...
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Cryonic
Senior Member
Join Date: Aug 2004
Location: Sweden..... (XCoder)
Old 04-16-2005 , 04:52  
Reply With Quote #10

Is it possible to fire looking right down and/or jumping to get a boost up to otherwise impossible locations? (I'm not able to test this plugin myself for about a week) :/
Cryonic is offline
Reply



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 12:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode