Skip to content

Instantly share code, notes, and snippets.

@Hexer10
Created September 27, 2017 12:10
Show Gist options
  • Save Hexer10/bea0d19dc3d4549c0024b209c32ed68d to your computer and use it in GitHub Desktop.
Save Hexer10/bea0d19dc3d4549c0024b209c32ed68d to your computer and use it in GitHub Desktop.
#include <sourcemod>
#include <sdkhooks>
#include <sdktools>
#include <hexstocks>
#pragma semicolon 1
#pragma newdecls required
#define PLUGIN_AUTHOR "Hexah"
#define PLUGIN_VERSION "1.00"
public Plugin myinfo =
{
name = "",
author = PLUGIN_AUTHOR,
description = "",
version = PLUGIN_VERSION,
url = "csitajb.it"
};
public void OnPluginStart()
{
AddCommandListener(OnCmd);
}
public Action OnCmd(int client, const char[] command, int args)
{
if (StrContains(command, "last") != -1)
return Plugin_Stop;
if (StrContains(command, "lr") != -1)
return Plugin_Stop;
return Plugin_Continue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment