Skip to content

Instantly share code, notes, and snippets.

@theY4Kman
Created December 1, 2011 04:40
Show Gist options
  • Save theY4Kman/1413691 to your computer and use it in GitHub Desktop.
Save theY4Kman/1413691 to your computer and use it in GitHub Desktop.
smrepo.sp
#pragma semicolon 1
#include <sourcemod>
#include <rootmenu>
public Plugin:myinfo =
{
name = "SMRepo",
author = "theY4Kman",
description = "Yak's SMRepo client -- SourceMod Plug-in Repository tool",
version = "0.0.0.1-unreleased",
url = "http://smrepo.net"
};
ROOTMENU_COMMAND(test,"Let's test this shit!","What can I say, man? This is a\nTest\nandSHIT!")
{
PrintToServer("Test!");
}
BEGIN_ROOTMENU(menu,"This is a description for this here menu")
COMMAND(test)
END_ROOTMENU()
public OnPluginStart()
{
INIT_ROOTMENU(menu);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment