Raised This Month: $59 Target: $400
 14% 

AWP Glow


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Johnny got his gun (102)
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-22-2005 , 00:39   AWP Glow
Reply With Quote #1

Code:
/*############################################################
##
##	Name:		AWP Glow
##	Date:		Feb. 21, 2005
##
##	Description:	When a user has the awp out, he will
##			glow the color of the team that he
##			is on. T = Red, CT = Blue
##			VERY noticable!
##
##
##	Cvars:	
##		awp_glow <1|0> - Turns the plugin on/off
##		awp_mapglow <1|0> - Turns the plugin on/off on awp_ maps
##
##
##	Other notes: This plugin is a slightly modded
##	version of my Various Weapon
##	Speeds plugin
##
##
##	To do:
##	- Add menu
##
##
##	Updates:
##	V1.01 - Added cvar awp_glow
##	v1.02 - Added cvar awp_mapglow + auto awp_ map checking
##	
##
*/

#include <amxmodx>
#include <cstrike>
#include <fun>
Screenshot:
Attached Files
File Type: sma Get Plugin or Get Source (awp_glow.sma - 8233 views - 1.9 KB)
__________________
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
silaz
Member
Join Date: Sep 2004
Location: Germany/NRW/Do
Old 02-22-2005 , 07:08  
Reply With Quote #2

n1 plugin


How can I switch it on/off? For example of AWP map it would have to be off

__________________
Greetz
$ilaz

silaz is offline
LizardKing
Member
Join Date: Sep 2004
Old 02-22-2005 , 09:10  
Reply With Quote #3

it seems with that glow it would be Harder to kill an awper. maybe tone down that glow a little?
__________________
LizardKing is offline
Send a message via MSN to LizardKing
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-22-2005 , 09:36  
Reply With Quote #4

Quote:
Originally Posted by silaz
n1 plugin


How can I switch it on/off? For example of AWP map it would have to be off

I'll add a cvar.

Quote:
Originally Posted by LizardKing
it seems with that glow it would be Harder to kill an awper. maybe tone down that glow a little?
Ain't that hard to find the chest . Also, sometimes the glow looks a little less intense. Mess around with the color/alpha settings until you get something you like..
Code:
//                   R    G    B    A
new iColorT[4]  = { 255, 100, 100, 255 } // Alpha = Visibility (255 = Visible, 0 = Invisible)
new iColorCT[4] = { 100, 100, 255, 255 } // Alpha at 100 = Less than Half Visible
(Hehe, edited this post about 100 times)
__________________
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
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-22-2005 , 20:17   ** UPDATED **
Reply With Quote #5

Added cvar awp_glow <1|0>
__________________
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
silaz
Member
Join Date: Sep 2004
Location: Germany/NRW/Do
Old 02-22-2005 , 22:46  
Reply With Quote #6

thx very n1

Off Switching its Work but off Switching inGame its not work
__________________
Greetz
$ilaz

silaz is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-23-2005 , 00:15  
Reply With Quote #7

Quote:
Originally Posted by silaz
Off Switching its Work but off Switching inGame its not work
Huh? After you enter the cvar (amx_rcon awp_glow 1) into console, you gotta cycle through back to your awp again.
__________________
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
silaz
Member
Join Date: Sep 2004
Location: Germany/NRW/Do
Old 02-23-2005 , 02:46  
Reply With Quote #8

yes

in console are this

Quote:
Invalid file type...skipping download of awp_glow
Invalid file type...skipping download of
ps. Sorry for my bad english
__________________
Greetz
$ilaz

silaz is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-23-2005 , 03:42  
Reply With Quote #9

No clue what that is, plugin seems to run fine.
__________________
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
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 02-23-2005 , 13:55  
Reply With Quote #10

You could turn the plugin off automatically if it is an awp_ map...

Add this:
Code:
public plugin_cfg() {     new szCurrMap[64]     get_mapname( szCurrMap, 63 )     // If map is awp_ map, turn Glow Off..     if( containi( szCurrMap, "awp_" ) > -1 )         set_cvar_num( "awp_glow", 0 )         return PLUGIN_CONTINUE }

I hope that works, I didn't test it..
xeroblood is offline
Send a message via MSN to xeroblood
Reply


Thread Tools
Display Modes

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 15:53.


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