Raised This Month: $32 Target: $400
 8% 

Custom Spray Management


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Arkshine (91)
r0ck
Senior Member
Join Date: Jun 2011
Location: India
Old 09-24-2011 , 02:12   Custom Spray Management
Reply With Quote #1

.::Custom Spray Management::.
By- R0CK
.:: Description ::.
With this plugin you can Enabled / Disable Custom Sprays in the server. All will have same logo which is small lambda logo.
It also has Spray Distance Checker By Exolent.
This also fixes lambda spray bug as a result sometimes people are not able to spray their own spray.

The cspray_customtype Cvar takes place after new round starts.
.:: Cvars & Commands ::.
cspray_customtype <0, 1 ,2, 3, 4>

0 = Block All Sprays for Everyone
1 = Custom Sprays Enabled For Everyone
2 = Custom Sprays Enabled For Admins Disabled for others
3 = Custom Sprays Enabled For Chosen Ones Disabled for others(amx_allowspray <name>)
4 = Custom Sprays Disabled For Everyone (Same Logo)

cspray_distannouce <0, 1> (it will only work when Custom Sprays are Enabled)

0 = Distance Checker + AnnounceType Disabled
1 = Distance Checker + AnnounceType Enabled

cspray_distannoucetype <0, 1>

0 = All Will able to see distance between spray and ground if any one sprays
1 = Only sprayer will be able to see distance of its own spray

cspray_timeinterval <time>

time = Will set time interval between two sprays by a user

cspray_disallowtype <1, 0> (when amx_disallowspray has been used on a user)

0 = the users custom spray is blocked only
1 = the users spray is fully blocked

Admin Commands :-

amx_allowspray <name> <time> (will allow the person to use his own spray When Spray_CustomType = 2, 3, 4)
amx_disallowspray <name> (will block the person's spray When Spray_CustomType = 1, 3)
.:: Credits ::.
Exolent[jNr] – Spray Distance Checker
.:: Multilanguage ::.
http://forums.alliedmods.net/showthread.php?t=168083
.:: Changelog ::.
Quote:
v2.1 - 05-21-2014
- Minor changes thanks to Arkshine.

v2.0 - 05-20-2014
- fixed minor bugs thanks to Arkshine.

v1.9 - 05-19-2014
- changed minor things, fixed minor bugs thanks to Arkshine.

v1.8 - 05-18-2014
- changed minor things, rewrote file saving system, new save CustomSprayBanned.ini file name.

v1.7 - 10-16-2011
- fixed trie function .......

v1.6 - 10-15-2011
-added saving steam id when his spray is banned and to remove his id from ban list then use amx_allowspray or manually delete from cs_management.ini + added subheadings in script for better understanding

v1.5 - 09-27-2011
- added commands for when amx_disallowspray has been used on a user

v1.4 - 09-26-2011
- Fixed time interval system and added message to know after how many seconds they can spray.

v1.3 - 09-25-2011
-Added cvar to handle time interval between sprays + added amx_allowspray <name> + <time> (time will set only only that user, sets users spray interval ) time should be greater than 1 .

v1.2 - 09-25-2011
-Added Admin flag #define FLAGS_SPRAY

v1.1 - 09-24-2011
-Changed set_pdata_init type

v1.0 - 09-24-2011
-Initial Release
Attached Files
File Type: txt spraymanagement.txt (3.0 KB, 1541 views)
File Type: inc colorchat.inc (4.9 KB, 904 views)
File Type: sma Get Plugin or Get Source (CustomSpray.sma - 2520 views - 12.5 KB)
__________________
Preparing to release my plugins..

Last edited by r0ck; 05-21-2014 at 01:55. Reason: Updated Plugin v2.0
r0ck is offline
richierich88888
Junior Member
Join Date: Sep 2011
Old 09-24-2011 , 04:15   Re: Custom Spray Management
Reply With Quote #2

Ohh Nice Plugin....
richierich88888 is offline
enjoi.
Veteran Member
Join Date: Mar 2011
Old 09-24-2011 , 08:27   Re: Custom Spray Management
Reply With Quote #3

nice
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]
enjoi. is offline
r0ck
Senior Member
Join Date: Jun 2011
Location: India
Old 09-24-2011 , 10:47   Re: Custom Spray Management
Reply With Quote #4

updated ML and Plugin v1.1
__________________
Preparing to release my plugins..
r0ck is offline
juan2394
Member
Join Date: Sep 2010
Old 09-24-2011 , 14:30   Re: Custom Spray Management
Reply With Quote #5

I really like this, great job, no more porn sprays on my server!
juan2394 is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 09-24-2011 , 21:20   Re: Custom Spray Management
Reply With Quote #6

Quote:
Originally Posted by r0ck View Post
2 = Custom Sprays Enabled For Admins Disabled for others
good job, just make a cvar about the admin flag.
__________________
ANTICHRISTUS is offline
r0ck
Senior Member
Join Date: Jun 2011
Location: India
Old 09-25-2011 , 01:09   Re: Custom Spray Management
Reply With Quote #7

Quote:
Originally Posted by ANTICHRISTUS View Post
good job, just make a cvar about the admin flag.
#define FLAGS_SPRAY added updated v1.2 and ML

EDIT:- updated v1.3 see changelogs
__________________
Preparing to release my plugins..

Last edited by r0ck; 09-25-2011 at 06:44.
r0ck is offline
r0ck
Senior Member
Join Date: Jun 2011
Location: India
Old 09-26-2011 , 00:57   Re: Custom Spray Management
Reply With Quote #8

updated to v1.4 fixed time interval system and added message to know after how many secounds they can spray
__________________
Preparing to release my plugins..
r0ck is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-26-2011 , 14:00   Re: Custom Spray Management
Reply With Quote #9

Not using your plugin as a hole but we are using the offset your using btw that offset does have a name.

485 - m_nCustomSprayFrames

And it works flawlessly.. love it...

wt stripped out all the stuff well never use lol just checks on info changed if your an admin and applies custom spray or the lamda sign
Doc-Holiday is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-26-2011 , 14:13   Re: Custom Spray Management
Reply With Quote #10

And 486 is m_flNextDecalTime
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 10:11.


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