Raised This Month: $32 Target: $400
 8% 

Drop the Bomb


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management       
sukanta_halder
New Member
Join Date: Oct 2013
Location: India
Old 01-09-2014 , 02:20   Drop the Bomb
Reply With Quote #1

Description:
Most Counter Strike Servers prefer “de” maps to play. There are few players in every server who loin to the server when the server is empty. They plant the bomb and after every successful bomb blast they get 3 points. Thus they increase their score.
This plugin will prevent this activity. If there is only one terrorist in team terrorist this plugin will start automatically and it will drop the bomb continuously until the number of terrorists are two or more than two. If the no of terrorist is two or more than two then plugin will stop working automatically.


Features of this plugin:
i. Auto start & auto stop.
ii. No more fake score increasing.


Installation:
Do the following steps to install the plugin
i. Copy the drop_the_bomb.amxx to “cstrike\addons\amxmodx\plugins” folder.
ii. Open “plugins.ini” file located at “cstrike\addons\amxmodx\configs” folder & write “drop_the bomb.amxx” at the end of the file.
iii. Save & close the “plugin.ini” file.
iv. Restart your server.
Now it’s time to say good bye. Hope you have enjoyed this plugin.

Last edited by hornet; 01-09-2014 at 02:41.
sukanta_halder is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 01-09-2014 , 02:41   Re: Drop the Bomb
Reply With Quote #2

Attachment removed. You may not upload AMXX files.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 01-09-2014 , 12:57   Re: Drop the Bomb
Reply With Quote #3

Why not check if there are CTs playing? I can be 1 Terrorist vs 2 CTs.
Also something like this would be better:
PHP Code:
public plugin_init() 
{
    
RegisterHam(Ham_Item_Deploy"weapon_c4""ham_ItemDeploy_PostKnife"1)
}

public 
ham_ItemDeploy_Post(weapon_ent
{
    if(
zero_cts())
    {
        static 
owner
        owner 
get_pdata_cbase(weapon_ent414)
    
        if(
is_user_alive(owner))
            
engclient_cmd(owner"weapon_knife")
    }

But you would have to check last weapon used before hold bomb and after that change gun for that gun instead of knife. Also the "zero_cts" would be some stock you do for check if there is some ct connected. There are a lot of ways for check it, but i dont know wich of them is the most efficient and optimized, so i dont leave here how to do it.
__________________

Last edited by Jhob94; 01-09-2014 at 13:00.
Jhob94 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-09-2014 , 14:08   Re: Drop the Bomb
Reply With Quote #4

http://forums.alliedmods.net/showthread.php?p=562807

bm_minct 1
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
sukanta_halder
New Member
Join Date: Oct 2013
Location: India
Old 01-10-2014 , 00:51   Re: Drop the Bomb
Reply With Quote #5

Thank you Jhob94. For your suggestion. I will resolve it.
sukanta_halder is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 01-12-2014 , 05:25   Re: Drop the Bomb
Reply With Quote #6

You still haven't uploaded the plugin in source code form.
Regardless, the plugin linked by Connor already includes the features of your plugin.

Unapproved.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet 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 18:19.


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