Raised This Month: $95 Target: $400

CheesyPeteza: Spray ID

Post New Thread Reply   
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:          Approver:   Johnny got his gun (102)
Bad HAL 9000
Senior Member
Join Date: Mar 2004
Location: Minnesota, USA
Old 09-20-2004 , 18:37   CheesyPeteza: Spray ID
Reply With Quote #1

I just ported this for CheesyPeteza. I changed the enum{} array for compatability and the include. No more

----------------From CheesyPeteza's Post on amxmod.net----------
When a player looks at a spray it shows in the center of their screen who sprayed it. Also an admin can spray any players spray.


Update 6-2-04
- Removes the spray information twice now as very rarely it would not disappear for no apparent reason.

Updated 23-1-04
- Admin can spray any users spray. ADMIN_KICK required.
- Uses HUD center say type text, old method available through cvar.
- Messages always clear within a second of looking away from spray.
- Auth ID is shown as part of spray ID now.

Updated 29-1-04
- Updated to be compatible with Natural Selection 3.

Heres what it looks like
Attached Files
File Type: sma Get Plugin or Get Source (sprayid.sma - 3910 views - 4.7 KB)
Bad HAL 9000 is offline
Send a message via ICQ to Bad HAL 9000 Send a message via AIM to Bad HAL 9000 Send a message via MSN to Bad HAL 9000 Send a message via Yahoo to Bad HAL 9000
Junior Member
Join Date: Oct 2004
Old 11-01-2004 , 15:35  
Reply With Quote #2

Perfect Wenn Using Ent On A Server and Spraying isnt allowed
Slayor is offline
Join Date: Jul 2004
Old 10-30-2005 , 22:17  
Reply With Quote #3

Ok, I tried this and the messages sometimes still stayed on my screen, so I fixed it..

The messages are set to stay up for 9999 seconds, change that to 1 and you have it working fine. If you are looking at it, i'll repopulate the hud text every second anyway, so you don't get that overlay.

Also I made it so only admins could see the text, via a

if (access (i, ADMIN_KICK))
block in checklookingat()
Alcedema is offline
Jimmy Neutron
Join Date: Sep 2006
Old 09-25-2006 , 18:35   Re: CheesyPeteza: Spray ID
Reply With Quote #4

I have a problem. I like the plugin but when the spray disappears, and I look at the area where it was located, I still get the information of who sprayed it and their steam id. Any fixes for that? Thanks.
Jimmy Neutron is offline
Join Date: Jun 2007
Old 06-04-2007 , 14:30   Re: CheesyPeteza: Spray ID
Reply With Quote #5

Could this be modified to only show sprays when you press +use?

Also, it seems to stop working exactly 2 minutes after the spray is sprayed? Any ideas?

edit: Hmm, the HUD messages blocks (make them dissapear) other HUD messages such as amx_imessage... Any ideas?

Last edited by HAARP; 06-04-2007 at 14:35.
HAARP is offline
Senior Member
Join Date: Nov 2007
Old 02-19-2008 , 04:43   Re: CheesyPeteza: Spray ID
Reply With Quote #6

A nice companion plugin to Spray ID is:
Spray Management
This plugin allows you to block someone from using the spray command.

Does somebody have an offensive spraypaint? Does he spam it all over the place? Do you just have the sudden urge to disallow people from using the spraypaint?

Well, you've come to the right place.
bug is offline
Junior Member
Join Date: Jul 2008
Old 07-23-2008 , 21:28   Re: CheesyPeteza: Spray ID
Reply With Quote #7

i hope this works on the new dods engine
laurentrobert is offline
New Member
Join Date: Jun 2012
Old 06-18-2012 , 21:01   Re: CheesyPeteza: Spray ID
Reply With Quote #8

Tested this on a server running svencoop 4.6

The persistent message problem is STILL an issue.. any ideas?

Edit: if i disable the coloured hud message with "sprayid_hud 0" command the message will then disappear as you'd expect

Their are other plugins using the hud to render text (SCXPM, RcBot)

Last edited by Ripps; 06-18-2012 at 21:39.
Ripps is offline
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 07-24-2012 , 16:06   Re: CheesyPeteza: Spray ID
Reply With Quote #9

looks nice, gonna try this out

Working on:
[CSGO/CSS] Mmorpg - an extensive XP/level modulair platform
Progress: [♣♣♣♣♣♣♣|♣♣♣]
striker07 is offline

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 13:50.

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