Raised This Month: $12 Target: $400
 3% 

[CS:GO] False Map Blocker


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Swolly
Senior Member
Join Date: Jul 2018
Location: Turkey
Plugin ID:
8416
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 03-13-2023 , 07:53   [CS:GO] False Map Blocker
    Reply With Quote #1

    Did you type "!map example" and open a map with the same name that you don't want opened?
    This plugin prevents it from opening when you try to open a map with the same name.

    For example, when you type "!map son", if there is a map containing more than one "son" word, it gives them to a menu and opens the selected map.


    Attached Files
    File Type: sp Get Plugin or Get Source (False_Map_Blocker.sp - 86 views - 5.2 KB)
    File Type: smx False_Map_Blocker.smx (5.1 KB, 42 views)
    __________________

    Last edited by Swolly; 03-13-2023 at 10:30.
    Swolly is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 03-13-2023 , 09:34   Re: [CS:GO] False Map Blocker
    Reply With Quote #2

    ...source code use file, what not exist
    PHP Code:
    #include <plugincim.com> 
    ...plugin listen sm_map command, but have own admin check.
    PHP Code:
    ...

    if(
    GetUserFlagBits(client) & ADMFLAG_ROOT || GetUserFlagBits(client) & ADMFLAG_GENERIC || GetUserFlagBits(client) & ADMFLAG_CHANGEMAP)    

    ... 

    SourceMod basecommands sm_map use FindMap.
    But this plugin read maps from directory "maps".


    meh.
    Bacardi is offline
    Swolly
    Senior Member
    Join Date: Jul 2018
    Location: Turkey
    Old 03-13-2023 , 10:30   Re: [CS:GO] False Map Blocker
    Reply With Quote #3

    Quote:
    Originally Posted by Bacardi View Post
    ...source code use file, what not exist
    PHP Code:
    #include <plugincim.com> 
    ...plugin listen sm_map command, but have own admin check.
    PHP Code:
    ...

    if(
    GetUserFlagBits(client) & ADMFLAG_ROOT || GetUserFlagBits(client) & ADMFLAG_GENERIC || GetUserFlagBits(client) & ADMFLAG_CHANGEMAP)    

    ... 

    SourceMod basecommands sm_map use FindMap.
    But this plugin read maps from directory "maps".


    meh.
    Fixed flag and include file.
    __________________
    Swolly is offline
    r14170
    Veteran Member
    Join Date: Dec 2009
    Old 03-16-2023 , 23:29   Re: [CS:GO] False Map Blocker
    Reply With Quote #4

    Very nice! Awesome work!

    I needed this
    r14170 is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 03-17-2023 , 06:54   Re: [CS:GO] False Map Blocker
    Reply With Quote #5

    I think this would be a much better option.
    Attached Files
    File Type: sp Get Plugin or Get Source (False_Map_Blocker 1.1.0.sp - 83 views - 3.6 KB)
    __________________
    Grey83 is offline
    foxsay
    AlliedModders Donor
    Join Date: Sep 2013
    Old 03-18-2023 , 08:31   Re: [CS:GO] False Map Blocker
    Reply With Quote #6

    great idea, happens often with me
    __________________
    poggers
    foxsay 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 05:25.


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