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

Stop The Smokes! [ 0.1 ]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
3Di
Member
Join Date: Sep 2009
Location: #php_title
Old 10-04-2009 , 12:50   Stop The Smokes! [ 0.1 ]
Reply With Quote #1

Stop The Smokes!
Version 0.1 | Counter-Strike 1.6


Description
Tired of those players that continuously buy smoke grenades just to spam and create lag? Here's your solution! Stop The Smokes! allows you to put a limit on how many smoke grenades are allowed per round. You even have the option to punish the player two ways, slap or slay.


Cvars
amx_sts_mode - The punish mode for going over the limit of buying.
#1: Slap with 'x' damage
#2: Slay the player
#3: Do nothing to the player
Default: 1

amx_sts_power - Amount of health taken for the slap.
Default: 15

amx_sts_limit - How many smoke grenades are allowed per round.
Default: 1


Changelog
Version 0.1
  • Initial Release.

Extra Notes:
Open to suggestions, coding optimizations and comments.

Attached Files
File Type: sma Get Plugin or Get Source (Stop_The_Smokes.sma - 661 views - 1.4 KB)

Last edited by 3Di; 10-04-2009 at 13:42. Reason: Updated Main Post
3Di is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 10-04-2009 , 12:52   Re: Stop The Smokes! [ 0.1 ]
Reply With Quote #2

Sounds cool, i think you could add other type of grenades too
__________________
xPaw is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 10-04-2009 , 12:53   Re: Stop The Smokes! [ 0.1 ]
Reply With Quote #3

Good idea!

The site doesn't allow you?
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Old 10-04-2009, 12:56
3Di
This message has been deleted by 3Di. Reason: Doesn't matter
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 10-04-2009 , 12:57   Re: Stop The Smokes! [ 0.1 ]
Reply With Quote #4

Quote:
Originally Posted by xPaw View Post
Sounds cool, i think you could add other type of grenades too
Cool plugin, if you add more types of nades, dont forget to change your plugin name

btw: you are not allowed to upload .amxx files
KadiR is offline
3Di
Member
Join Date: Sep 2009
Location: #php_title
Old 10-04-2009 , 12:58   Re: Stop The Smokes! [ 0.1 ]
Reply With Quote #5

I cannot upload any file to the site for some reason, so I'm using a different site and providing the .amxx and .sma files.
3Di is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 10-04-2009 , 13:00   Re: Stop The Smokes! [ 0.1 ]
Reply With Quote #6

No need for uploading the .amxx file...

And use this sma download link...

This one...
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 10-04-2009 , 13:01   Re: Stop The Smokes! [ 0.1 ]
Reply With Quote #7

Quote:
devicenull: Add SMA and ZIP (if applicable) files for people to download. Do not add the .amxx file
KadiR is offline
3Di
Member
Join Date: Sep 2009
Location: #php_title
Old 10-04-2009 , 13:03   Re: Stop The Smokes! [ 0.1 ]
Reply With Quote #8

Would a moderator please edit my main post and attach the .sma file for me? The site won't allow me to upload any files, it loads for one second, freezes and closes.
3Di is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 10-04-2009 , 13:04   Re: Stop The Smokes! [ 0.1 ]
Reply With Quote #9

Upload Test
Attached Files
File Type: sma Get Plugin or Get Source (Stop_The_Smokes.sma - 589 views - 1.4 KB)
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-04-2009 , 13:33   Re: Stop The Smokes! [ 0.1 ]
Reply With Quote #10

Already exist here : http://forums.alliedmods.net/showthread.php?p=198361
__________________
Arkshine 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 19:15.


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