Created
December 1, 2011 04:40
-
-
Save theY4Kman/1413691 to your computer and use it in GitHub Desktop.
smrepo.sp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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