Raised This Month: $7 Target: $400
 1% 

Solved


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PlaYerMasTer
Junior Member
Join Date: Sep 2016
Old 04-14-2017 , 10:36   Solved
Reply With Quote #1

Solved

Last edited by PlaYerMasTer; 04-14-2017 at 14:46.
PlaYerMasTer is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-14-2017 , 10:59   Re: [Help] Disable Shop
Reply With Quote #2

Put it above the shop plugin in plugins.ini.

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_plugin("Limit Shop Command""1.0""OciXCrom")
    
register_clcmd("say /shop""OnOpenShop")
    
register_clcmd("say_team /shop""OnOpenShop")
}

public 
OnOpenShop(id)
{
    new 
iPlayers[32], iPnum
    get_players
(iPlayersiPnum"ae""TERRORIST")
    return 
iPnum >= PLUGIN_CONTINUE PLUGIN_HANDLED

__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Old 04-14-2017, 11:08
PlaYerMasTer
This message has been deleted by PlaYerMasTer. Reason: Solved
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:57.


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