Raised This Month: $68 Target: $400
 17% 

BadMapzone


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Bibihotz
AlliedModders Donor
Join Date: Jul 2013
Location: Halkidiki Greece
Plugin ID:
4047
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 01-11-2014 , 09:52   BadMapzone
    Reply With Quote #1

    with this plugin you can block zones in our maps. Plugin require this in addons/sourcemod/config/databases.cfg

    HTML Code:
    "mapzones"
    
    		"driver"			"sqlite"
    		"database"			"storage-local"
    Attached Files
    File Type: sp Get Plugin or Get Source (badmapzone.sp - 486 views - 14.5 KB)
    File Type: smx badmapzone.smx (10.2 KB, 147 views)
    Bibihotz is offline
    tommie113
    AlliedModders Donor
    Join Date: Oct 2013
    Old 01-11-2014 , 09:59   Re: BadMapzone
    Reply With Quote #2

    it requires this in databases.cfg:
    Code:
    "mapzones"
    {
    		"driver"			"sqlite"
    		"database"			"storage-local"
    }
    with { & }
    __________________
    No longer taking requests due to lack of time and interrest.
    Only helping out with minor things through forum.

    Last edited by tommie113; 01-11-2014 at 09:59.
    tommie113 is offline
    Bibihotz
    AlliedModders Donor
    Join Date: Jul 2013
    Location: Halkidiki Greece
    Old 01-11-2014 , 11:53   Re: BadMapzone
    Reply With Quote #3

    Quote:
    Originally Posted by tommie113 View Post
    it requires this in databases.cfg:
    Code:
    "mapzones"
    {
    		"driver"			"sqlite"
    		"database"			"storage-local"
    }
    with { & }
    i write in first post if you see my english is bad sorry
    Bibihotz is offline
    Bibihotz
    AlliedModders Donor
    Join Date: Jul 2013
    Location: Halkidiki Greece
    Old 01-11-2014 , 12:12   Re: BadMapzone
    Reply With Quote #4

    if you want addblock area command is !addbadarea and if you want delete bad area is !delbadarea


    you can see in our server the plugin 83.212.114.26:8003 in map awp_lego_2b in tower ;) is blocked

    Last edited by Bibihotz; 01-11-2014 at 12:14. Reason: wrong letters
    Bibihotz is offline
    tommie113
    AlliedModders Donor
    Join Date: Oct 2013
    Old 01-11-2014 , 13:04   Re: BadMapzone
    Reply With Quote #5

    Quote:
    Originally Posted by Bibihotz View Post
    i write in first post if you see my english is bad sorry
    You forgot the braces {}
    Edit first post to fix it
    __________________
    No longer taking requests due to lack of time and interrest.
    Only helping out with minor things through forum.
    tommie113 is offline
    tumtum
    Senior Member
    Join Date: Aug 2012
    Location: Fantasy Island
    Old 01-12-2014 , 07:50   Re: BadMapzone
    Reply With Quote #6

    Works fine.

    - Only problem with noclip delete is not possible, after mapchange it is back :\
    - White boxes for players is not nice.

    Good way to block some zones/areas in maps. (in my case homer in mg_simpsons)
    tumtum is offline
    tommie113
    AlliedModders Donor
    Join Date: Oct 2013
    Old 01-12-2014 , 08:07   Re: BadMapzone
    Reply With Quote #7

    I'm not really sure if it's wrong, but it looks like you are forgetting a lot of braces with if statements.
    I don't know if that would give any problems.
    __________________
    No longer taking requests due to lack of time and interrest.
    Only helping out with minor things through forum.
    tommie113 is offline
    joesch
    New Member
    Join Date: Jan 2014
    Old 01-13-2014 , 23:28   Re: BadMapzone
    Reply With Quote #8

    can you use this plugin to prevent people going on roof or under map in the dm_runoff map of deathmtach? that would be cool.

    Last edited by joesch; 01-14-2014 at 08:32.
    joesch 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 22:51.


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