Raised This Month: $ Target: $400
 0% 

Trying to block server command...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
lowheartrate
Member
Join Date: Apr 2015
Location: United States, New York
Old 04-20-2017 , 20:00   Trying to block server command...
#1

I am using the scripting reference here as I am very new to coding sourcemod plugins. What I am trying to do is block players from using sm plugins in the server so they don't know what plugins are being used in the server but when I put the plugin in the server I can still access the command just fine.
Code:
#include <sourcemod>

public void OnPluginStart()
{
	RegServerCmd("sm plugins", Command_Sm_Plugins);
}

public Action Command_Sm_Plugins(int args)
{
	return Plugin_Handled;
}
__________________

Last edited by lowheartrate; 04-20-2017 at 22:35.
lowheartrate 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 00:04.


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