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

Spray Management


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:          Approver:   EKS (166)
kirby7wu
Member
Join Date: Jun 2005
Location: Кры
Old 09-05-2005 , 07:22   Spray Management
Reply With Quote #1

This is a plugin I thought up a while ago, and finally I decided to try it out.

This would be nothing without Remo Williams (MysticSSJGoku4).

So, lots of <3 to him for helping me out and re-vising all the stuff I was unable to do. (Technical difficulties... uhh.. yeah technical difficulties! )



So, thus, when you hit amx_plugins, it will show up as two authors.



Description

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.


Includes:

Quote:
• Engine
• Misc
Wow, lots of modules huh?


Commands:

Code:
CVAR:

• ij_spraymanage <1/0> (Default 1)

CMD:

• amx_spray <Name> <0/1>
0 disallows them to spray
1 allows them to spray

========================

It's that simple!

Any questions post here!

<3 REMO!

Edit:

LMFAO I FORGOT TO UPLOAD IT!

Fixed xD
Attached Files
File Type: sma Get Plugin or Get Source (spray_management.sma - 2684 views - 3.0 KB)
__________________
Please do not give me any karma, I do not participate in that.
kirby7wu is offline
Send a message via AIM to kirby7wu
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 09-05-2005 , 07:25  
Reply With Quote #2

pwnt by me.
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
kirby7wu
Member
Join Date: Jun 2005
Location: Кры
Old 09-05-2005 , 07:28  
Reply With Quote #3

Quote:
Originally Posted by mysticssjgoku4
UBER-FREAKING pwnt by me.
Totally.
__________________
Please do not give me any karma, I do not participate in that.
kirby7wu is offline
Send a message via AIM to kirby7wu
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-05-2005 , 11:46  
Reply With Quote #4

I was going to make a plugin that made the client look down and spray, just so you can see if it's them with a stupid spray. Could you possibly add that? Something like this:

Code:
register_concmd("amx_forcespray","forcespray",ADMIN_KICK," <user> - forces the user to use their spraypaint")

Code:
public forcespray(id,level,cid) {     if(!cmd_access(id,level,cid,2)     {          return PLUGIN_HANDLED     }         new arg[32]     read_argv(1,arg,31)     new target = cmd_target(id,arg,1)     client_cmd(target,"impulse 201")         return PLUGIN_HANDLED }

Of course with logging though.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
kirby7wu
Member
Join Date: Jun 2005
Location: Кры
Old 09-05-2005 , 13:50  
Reply With Quote #5

Ok, sounds like a good idea.

But, I think I will add a +lookdown or something in there, so that they always spray on the floor.

Will update when finished.
__________________
Please do not give me any karma, I do not participate in that.
kirby7wu is offline
Send a message via AIM to kirby7wu
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-05-2005 , 13:53  
Reply With Quote #6

Quote:
Originally Posted by kirby7wu
Ok, sounds like a good idea.

But, I think I will add a +lookdown or something in there, so that they always spray on the floor.

Will update when finished.
Oh yeah, forgot about that, ok thanks.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
kirby7wu
Member
Join Date: Jun 2005
Location: Кры
Old 09-06-2005 , 17:25   Re: Spray Management
Reply With Quote #7

WOOT @ Aprrovedness!

Also,

I am still working on the +lookdown, I'm a noob, and don't feel like asking xD
__________________
Please do not give me any karma, I do not participate in that.
kirby7wu is offline
Send a message via AIM to kirby7wu
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-06-2005 , 17:46   Re: Spray Management
Reply With Quote #8

Quote:
Originally Posted by kirby7wu
WOOT @ Aprrovedness!

Also,

I am still working on the +lookdown, I'm a noob, and don't feel like asking xD
If you need any help, feel free to PM me, I know exactly how to I would do it.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
kirby7wu
Member
Join Date: Jun 2005
Location: Кры
Old 09-06-2005 , 22:08   Re: Spray Management
Reply With Quote #9

If you could just post the line that would make them look down about 1 second before they impulse 201, I could do the rest.

__________________
Please do not give me any karma, I do not participate in that.
kirby7wu is offline
Send a message via AIM to kirby7wu
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-06-2005 , 22:12  
Reply With Quote #10

Code:
client_cmd(id,"+lookdown") set_task(1.0,"stop_lookdown",id)

Code:
public stop_lookdown(id) {      client_cmd(id,"-lookdown")      return PLUGIN_HANDLED }
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 09:26.


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