Raised This Month: $218 Target: $400
 54% 

Plant Anywhere 2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Exolent[jNr] (178)
avenger_ansh
Junior Member
Join Date: Dec 2006
Old 09-10-2008 , 22:51   Plant Anywhere 2
Reply With Quote #1

Plant Anywhere 2

Hi, this is my first plugin. I made this because the I wanted to make the Plant anywhere plugin by [email protected] work on any map and add more features to it.

Description:


As the name says you can plant anywhere on the map but comes with extra features.

Features:
  • Works on any type of map (With/Without Round Ends).
  • Works with CSDM (No Round Ends).
  • Allows everyone to buy a C4.
  • Bomb can be planted on Walls.
  • On explosion Planter gets frags for each Victim killed.
CMDs:

c4 - Buy a C4.
c4_disable_roundend - When the bomb explodes or is defused the round won't end. Map restart required to re-enable round end.

CVARs:

c4_anywhere (Default: 1)
Allows planter to plant anywhere on the map. Map restart required in order for the changes to take effect.

c4_buy (Default: 1)
Allow Terrorists to purchase C4.

c4_buy_ct (Default: 0)
Allow CTs to purchase C4.

c4_kill (Default: 1)
Planters gets frags for each victim killed by his C4.

c4_wall (Default: 1)
Allows planter to plant on walls.

c4_cost (Default: 3000)
Cost of the c4.

c4_wait (Default: 20)
The amount of time the planter must wait before planting the C4.

Modules:
  • cstrike
  • csx
  • csdm (only if you have csdm installed)
  • fakemeta
Credits:

[email protected] - Original Plugin
Cheap_Suit - Silly C4 Plugin
VEN - CS Bomb Scripting FAQ/Tutorial

Changelog:

v1.2
- Fixed plugin not working when csdm is not installed

v1.1
- Better approach to wall planting.
- Fixed c4_wait not getting disabled.

v1.0
- First Release

Note:

If you want to use the plugin with CSDM you have to uncomment the first line:
Code:
//#define CSDM
Attached Files
File Type: sma Get Plugin or Get Source (plantanywhere2.sma - 3716 views - 11.8 KB)

Last edited by avenger_ansh; 09-12-2008 at 06:04. Reason: Update v1.2
avenger_ansh is offline
letgoofmyeggs
Senior Member
Join Date: Aug 2006
Old 09-11-2008 , 04:40   Re: Plant Anywhere 2
Reply With Quote #2

iono if its jus me but this don work. i got an error and couldnt plant but it wasnt debug then i got lazy. but if somone else says it works mayb i did somthin wrong or another plugin is interfering wit it.
mayb you could test it and dbl checc if it works.
but this sounds like a cool plugin if u can get it working
letgoofmyeggs is offline
avenger_ansh
Junior Member
Join Date: Dec 2006
Old 09-11-2008 , 15:33   Re: Plant Anywhere 2
Reply With Quote #3

try disabling other c4 plugins
avenger_ansh is offline
letgoofmyeggs
Senior Member
Join Date: Aug 2006
Old 09-11-2008 , 15:52   Re: Plant Anywhere 2
Reply With Quote #4

k ill let u no how it goes ima test ina lil bit

EDIT:
L 09/11/2008 - 12:42:14: Invalid CVAR pointer
L 09/11/2008 - 12:42:14: [AMXX] Displaying debug trace (plugin "plantanywhere2.amxx")
L 09/11/2008 - 12:42:14: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 09/11/2008 - 12:42:14: [AMXX] [0] 31341.attach::eventRoundStart (line

Last edited by letgoofmyeggs; 09-11-2008 at 16:44.
letgoofmyeggs is offline
avenger_ansh
Junior Member
Join Date: Dec 2006
Old 09-12-2008 , 06:06   Re: Plant Anywhere 2
Reply With Quote #5

k its fixed now
avenger_ansh is offline
endeffects
Senior Member
Join Date: Nov 2007
Old 09-13-2008 , 06:47   Re: Plant Anywhere 2
Reply With Quote #6

i'm running a cs realism server and i like your plugin,
but the major problem for me is the round end stuff.

wouldn't it be great to have the round end
when the c4 explodes in the bomb zones only,
when it explodes everywhere else the round continues.
__________________
Get rid of all these fake, spam, redirect servers
on your steam server list!
endeffects is offline
avenger_ansh
Junior Member
Join Date: Dec 2006
Old 09-14-2008 , 08:37   Re: Plant Anywhere 2
Reply With Quote #7

i dont think dat possible coz to disable round end the objectives have to be removed from the map
avenger_ansh is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 09-14-2008 , 09:22   Re: Plant Anywhere 2
Reply With Quote #8

@endeffects - You can try my Fake C4 plugin.You have the default bomb that can be planted on bombsite and trigger the round end, and the fake ones, that will explode without trigger the round end.
Alka is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 09-19-2008 , 15:46   Re: Plant Anywhere 2
Reply With Quote #9

Quote:
Originally Posted by Alka View Post
@endeffects - You can try my Fake C4 plugin.You have the default bomb that can be planted on bombsite and trigger the round end, and the fake ones, that will explode without trigger the round end.
I think after Alka implements defusing this plugin becomes obsolete. No offence.

The script itself looks clean, though I didn't really read if there's any unneccessary shite going on. Nevertheless, good job with this one, even though IMO, it's unneeded.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
avenger_ansh
Junior Member
Join Date: Dec 2006
Old 09-20-2008 , 18:48   Re: Plant Anywhere 2
Reply With Quote #10

Its not the same, u can defuse the C4 with this one.
avenger_ansh is offline
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 06:08.


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