I am a server owner and i need a plugin that can allow me to provide mumble details when a client types !mumble.
therefore this can be achieved by 2 ways.. when user types !mumble. simply the mumble details are displayed on chat.
the second way is to display info on a menu.
i found that first way is easier and tried making something
PHP Code:
#include <sourcemod>
public Plugin:myinfo =
{
name = "mumble details",
author = "Amphetamine",
description = "provides mumble info",
version = "1.0",
url = "http://www.sourcemod.net/"
};
public OnPluginStart()
{
RegConsoleCmd("sm_mumble",Command_mumble,"display mumble info")
PrintToServer("Hello world!");//just for testing
}
public Action:Command_mumble(client,args)
{
PrintToConsole(client, "mumble details goes here")
}
technically this compiled but i am not a hardcore programmer and need help completing it.