Raised This Month: $ Target: $400
 0% 

Pause a plugin in specific map or Disable


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
nG_getwreck
Senior Member
Join Date: Oct 2020
Location: Philippines from South K
Old 01-18-2021 , 06:29   Pause a plugin in specific map or Disable
Reply With Quote #1

Hello, how can I pause a plugin in specific map?

For example:

If map has "ze_" prefix then it will disable zp_gamemode_nemesis.amxx
&&
If map has "de_, cs_ or big_" prefix then it will disable zp_gamemode_multi_infection.amxx

I've also used "configs/maps/plugins-<map prefix>.ini" method but it's more hassle to me.

So I want other method instead of that.

EDIT:
Did try using this:
PHP Code:
    if(containi(map"de_") == -1)
    {
        
pause("ac""zp_gamemode_multi_infection.amxx")
    }
    else if(
containi(map"ze_") == -1) {
        
pause("ac""zp_gamemode_nemesis.amxx")
    }

But it doesn't work.
__________________

Last edited by nG_getwreck; 01-18-2021 at 06:30.
nG_getwreck is offline
 



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 14:11.


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