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

[CSS] Bomb Site Restrictor


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Splizes
Junior Member
Join Date: May 2010
Plugin ID:
1661
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A simple bomb site restrictor
    Old 05-13-2010 , 21:43   [CSS] Bomb Site Restrictor
    Reply With Quote #1

    This is a simple bomb site restrictor I made for my clan it was only tested for D2 but it should be usable for any map (it will block one of the two if less that 5v5).
    There is two versions of this, the first is much more simple but it doesn't tell the user they can't plant nor why they cant plant. Version two is a little more freaky the way it stops the plant but it tells the user and actually stops the action.
    Attached Files
    File Type: sp Get Plugin or Get Source (restrictplant2.sp - 1929 views - 2.5 KB)
    File Type: sp Get Plugin or Get Source (restrictplant.sp - 1819 views - 1.6 KB)
    Splizes is offline
    Dirton
    BANNED
    Join Date: Oct 2008
    Old 06-24-2010 , 20:45   Re: [CSS] Bomb Site Restrictor
    Reply With Quote #2

    Doesn't work.
    Dirton is offline
    Usurpus
    New Member
    Join Date: Jul 2010
    Old 07-13-2010 , 08:40   Re: [CSS] Bomb Site Restrictor
    Reply With Quote #3

    Write the scenario! If ct 5 players there are less, restriction of installation of a bomb is carried out. An example: If CT 5> on a card de_dust2 forbids to establish a bomb on a platform B.

    Last edited by Usurpus; 07-13-2010 at 09:12.
    Usurpus is offline
    Salakis.
    Junior Member
    Join Date: Feb 2011
    Location: Russia
    Old 04-21-2011 , 17:02   Re: [CSS] Bomb Site Restrictor
    Reply With Quote #4

    detected errors:
    Quote:
    L 04/20/2011 - 15:45:23: Info (map "de_dust2") (file "errors_20110420.log")
    L 04/20/2011 - 15:45:23: [SM] Native "SetEventInt" reported: Invalid game event handle 0 (error 4)
    L 04/20/2011 - 15:45:23: [SM] Displaying call stack trace for plugin "restrictplant2.smx":
    L 04/20/2011 - 15:45:23: [SM] [0] Line 44, /home/groups/alliedmodders/forums/files/7/7/9/9/9/65642.attach::Event_BombBPlant()
    see here https://forums.alliedmods.net/showthread.php?t=101439
    __________________
    Sorry for my bad English
    Salakis. is offline
    Send a message via ICQ to Salakis.
    Indarello
    Senior Member
    Join Date: Nov 2015
    Location: Russia
    Old 11-24-2015 , 05:46   Re: [CSS] Bomb Site Restrictor
    Reply With Quote #5

    Code:
    CreateEvent("bomb_abortplant", true)
    or
    Code:
    HookEvent("bomb_abortplant", Event_BombBPlant2)
    
    public Action:Event_BombBPlant2(Handle:event, const String:name[], bool:dontBroadcast)
    {
    }
    Is better to fix this ?
    Indarello is offline
    Indarello
    Senior Member
    Join Date: Nov 2015
    Location: Russia
    Old 07-10-2017 , 10:25   Re: [CSS] Bomb Site Restrictor
    Reply With Quote #6

    one more fix: line 55
    CreateTimer(0.5, EnableBombSite, user)
    to
    if(bombsite[0] != -1) CreateTimer(0.5, EnableBombSite, user)
    /// plugin error when map have no bomb plants

    Last edited by Indarello; 07-10-2017 at 10:25.
    Indarello is offline
    eliteroyal
    AlliedModders Donor
    Join Date: Dec 2016
    Location: Moldova
    Old 04-04-2019 , 12:29   Re: [CSS] Bomb Site Restrictor
    Reply With Quote #7

    works with csgo?
    __________________
    PEACE FROM MOLDOVA
    eliteroyal is offline
    Indarello
    Senior Member
    Join Date: Nov 2015
    Location: Russia
    Old 04-04-2019 , 14:14   Re: [CSS] Bomb Site Restrictor
    Reply With Quote #8

    Yes
    Next time just try, dont ask

    Last edited by Indarello; 04-04-2019 at 14:14.
    Indarello is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 04-05-2019 , 10:07   Re: [CSS] Bomb Site Restrictor
    Reply With Quote #9

    Quote:
    Originally Posted by Indarello View Post
    Yes
    Next time just try, dont ask
    No. With such similar games it can just appear to work until boom, something doesn't work.

    I've made some plugins which I was certain will appear to work with CS:S but they don't, only for CS:GO.
    __________________
    I am available to make plugins for pay.

    Discord: Eyal282#1334
    eyal282 is offline
    Indarello
    Senior Member
    Join Date: Nov 2015
    Location: Russia
    Old 04-06-2019 , 00:36   Re: [CSS] Bomb Site Restrictor
    Reply With Quote #10

    Quote:
    Originally Posted by eyal282 View Post
    No. With such similar games it can just appear to work until boom, something doesn't work.

    I've made some plugins which I was certain will appear to work with CS:S but they don't, only for CS:GO.
    Work on my server, maybe you dont use fix that I post some time ago
    Indarello 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 16:03.


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