Raised This Month: $95 Target: $400
 23% 

Traps!


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   devicenull (200)
xx_sirhc_xx
Member
Join Date: Jul 2005
Old 07-25-2005 , 07:43   Traps!
Reply With Quote #1

Code:
/*\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\ \\                                                                                // //                          AMXX Traps v1.0 by xx_sirhc_xx                        \\ \\                                                                                // //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\ \\                                                                                // // - Bury Trap   - Player will be buried (they won't lose their weapons)          \\ \\ - Slap Trap   - Player will be slapped with their health cut in half           // // - Death Trap  - Player will be instantly killed                                \\ \\ - Blind Trap  - Player will become blind                                       // // - Disarm Trap - Player will lose all of their weapons (except knife)           \\ \\                                                                                // //\\//\\//\\//\\//\\//\\// Console Commands  (ADMIN_KICK) \\//\\//\\//\\//\\//\\//\\ \\                                                                                // // - amx_traps          - Changes the cvar traps_enable - <0|1 = OFF/ON>          \\ \\                                                                                // //\\//\\//\\//\\//\\//\\//\\// Cvars <1|0 - on/off> //\\//\\//\\//\\//\\//\\//\\//\\ \\                                                                                // // - traps_bury         - Enables/Disables usage of Bury Traps (Default = 1)      \\ \\ - traps_slap         - Enables/Disables usage of Slap Traps (Default = 1)      // // - traps_death        - Enables/Disables usage of Death Traps (Default = 1)     \\ \\ - traps_blind        - Enables/Disabled usage of Blind Traps (Default = 1)     // // - traps_disarm       - Enables/Disables usage of Disarm Traps (Default = 1)    \\ \\ - traps_price_bury   - Price of the Bury Trap (Default = 6000)                 // // - traps_price_slap   - Price of the Slap Trap (Default = 2000)                 \\ \\ - traps_price_death  - Price of the Death Trap (Default = 14000)               // // - traps_price_blind  - Price of the Blind Trap (Default = 10000)               \\ \\ - traps_price_disarm - Price of the Disarm Trap (Default = 8000)               // // - traps_max          - Amount of traps that can be bought per round per player \\ \\ - traps_radius       - How big the traps actually are                          // // - traps_enable       - Enable/Disable usage of Traps                           \\ \\                                                                                // //\\//\\//\\//\\//\\//\\//\\//\\//\\// Credit \\//\\//\\//\\//\\//\\//\\//\\//\\//\\ \\                                                                                // // - Idea       - I got the idea from xeroblood's Shootable Proximity Mines       \\ \\                plugin.                                                         // // - Coding     - I got a lot of help with the planting code and /help code from  \\ \\                xeroblood's Shootable Proximity Mines plugin.                   // //              - I got the Disarm code from a plugin made by kingpin             \\ \\              - I got the blind code from a plugin made by T(+)rget/f117bomb    // // - Testers    - Platnum (<a href="http://www.TacoPool.com" target="_blank" rel="nofollow noopener">www.TacoPool.com</a>)                                      \\ \\              - OpTiKaL (<a href="http://www.outta-focus.com" target="_blank" rel="nofollow noopener">www.outta-focus.com</a>)                                   // //                                                                                \\ \\               Thanks to all who helped! - 66.55.154.24:27015                   // //                                                                                \\ \\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\*/

TO USE:

Buying
1) Type /buytrap into chat. A menu will come up with the prices.

Planting
1) Bind a key with +settrap and hold down the key. You need to pick which trap to plant first, if you haven't got one picked a menu will show. Then hold the +settrap key to plant.

PLEASE post bugs so I can fix them! I have tested it and I haven't really spotted any but i'm sure there are some!

**UPDATES**
- Added a hudmessage to show when a user joins the server to tell about Traps. (thanks seaoya and xeroblood for the suggestions!)
Attached Files
File Type: sma Get Plugin or Get Source (amx_traps.sma - 7581 views - 24.6 KB)
xx_sirhc_xx is offline
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 07-25-2005 , 08:26  
Reply With Quote #2

very nice plugin, very unique idea =)
OneEyed is offline
Proach
Veteran Member
Join Date: Jan 2005
Location: The Netherlands
Old 07-25-2005 , 08:27  
Reply With Quote #3

looks nice ..gonna test it out when I have time
__________________

www.psmod.net (the better psychostats)
PAOL
Proach is offline
Send a message via ICQ to Proach
Blitz
Senior Member
Join Date: Jul 2005
Location: Google
Old 07-25-2005 , 18:18  
Reply With Quote #4

Good idea.
I will test later.
__________________
[img]http://img268.**************/img268/7071/blitz4ek.jpg[/img]

In the beginning, God created the search button.
Blitz is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 07-25-2005 , 19:11  
Reply With Quote #5

Very nice.
Keep up the good work
__________________
hello, i am pm
PM is offline
bobo shooter
Junior Member
Join Date: Nov 2004
Old 07-26-2005 , 00:39  
Reply With Quote #6

Yeah, going to test it...
__________________
IP : 203.81.47.27:27016

CS Friends Fun Server
bobo shooter is offline
xx_sirhc_xx
Member
Join Date: Jul 2005
Old 07-26-2005 , 05:59  
Reply With Quote #7

Thanks. Please leave feedback on this. It's my first released plugin and I want it to go well. If you spot any bugs or have any suggestions, please post them.
xx_sirhc_xx is offline
seaoya
New Member
Join Date: Dec 2004
Old 07-26-2005 , 09:34  
Reply With Quote #8

why have no message tell players

Server Have This function or tell them

can use /traphelp to knew about that

if have...how to let server show that on screen?

thx!

this plugin is very funny!!

sorry for bad English..^^"..i hope u know what i say
seaoya is offline
Send a message via MSN to seaoya
xx_sirhc_xx
Member
Join Date: Jul 2005
Old 07-26-2005 , 11:44  
Reply With Quote #9

Updated seaoya. It will show a hudmessage every 2 minutes telling them about /trapshelp.

Anybody else have any comments or suggestions on this?
xx_sirhc_xx is offline
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 07-26-2005 , 12:28  
Reply With Quote #10

Good job and idea!

As for showing the message every 2 minutes, I think that is a bad idea as it would basically be spamming the screen.. Instead, it would be better to show the message to each individual player as they connect (like maybe 5 seconds after joining a team)..
xeroblood is offline
Send a message via MSN to xeroblood
Reply


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 14:24.


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