AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Custom Spray Management (https://forums.alliedmods.net/showthread.php?t=168081)

r0ck 09-24-2011 02:12

Custom Spray Management
 
6 Attachment(s)
.::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

richierich88888 09-24-2011 04:15

Re: Custom Spray Management
 
Ohh Nice Plugin....:)

enjoi. 09-24-2011 08:27

Re: Custom Spray Management
 
nice

r0ck 09-24-2011 10:47

Re: Custom Spray Management
 
updated ML and Plugin v1.1

juan2394 09-24-2011 14:30

Re: Custom Spray Management
 
I really like this, great job, no more porn sprays on my server!

ANTICHRISTUS 09-24-2011 21:20

Re: Custom Spray Management
 
Quote:

Originally Posted by r0ck (Post 1561953)
2 = Custom Sprays Enabled For Admins Disabled for others

good job, just make a cvar about the admin flag.

r0ck 09-25-2011 01:09

Re: Custom Spray Management
 
Quote:

Originally Posted by ANTICHRISTUS (Post 1562648)
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

r0ck 09-26-2011 00:57

Re: Custom Spray Management
 
updated to v1.4 fixed time interval system and added message to know after how many secounds they can spray

Doc-Holiday 09-26-2011 14:00

Re: Custom Spray Management
 
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

ConnorMcLeod 09-26-2011 14:13

Re: Custom Spray Management
 
And 486 is m_flNextDecalTime


All times are GMT -4. The time now is 03:51.

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