Skip to content

Instantly share code, notes, and snippets.

View Hexer10's full-sized avatar
🏠
Working from home

Mattia Hexer10

🏠
Working from home
View GitHub Profile
//Defines
#include <sourcemod>
#include <sdktools>
#include <cstrike>
#include <autoexecconfig>
#include <mystocks>
#include <colorvariables>
#include <menu-stocks>
#undef REQUIRE_PLUGIN
AdminId admin = GetUserAdmin(client);
if (admin != INVALID_ADMIN_ID)
{
char sGroup[32];
if ((GetAdminGroup(admin, 0, sGroup, sizeof(sGroup)) != INVALID_GROUP_ID))
{
if (StrEqual(sGroup, "PUT GROUP NAME HERE!"))
{
CS_SetClientClanTag(client, "[Vip]");
return;
#include <sourcemod>
#include <cstrike>
#include <mystocks>
#include <warden>
#pragma newdecls required
#pragma semicolon 1
#include <sourcemod>
#include <sdkhooks>
#include <sdktools>
#include <hexstocks>
#pragma semicolon 1
#pragma newdecls required
public void OnPluginStart()
{
AddCommandListener(OnSay, "say");
AddCommandListener(OnSay, "say_team");
AddCommandListener(OnCmd);
}
public Action OnSay(int client, const char[] command, int args)
{
char sCmd[32];
ArrayList LrArray;
ArrayList LrArray2;
public void OnPluginStart()
{
LrArray = new ArrayList(32);
AddCommandListener(OnSay, "say");
AddCommandListener(OnSay, "say_team");
AddCommandListener(OnCmd);
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <cstrike>
#include <mystocks>
#include <warden>
#include <myjbwarden>
#define PLUGIN_AUTHOR "Hexah"
#define PLUGIN_VERSION "1.0"
@Hexer10
Hexer10 / Colors.txt
Last active October 26, 2023 12:03
Colors list
CSGO/CSS SUPPORTED:
"default"
"teamcolor"
"red"
"lightred"
"darkred"
"bluegrey"
"blue"
import 'dart:io';
import 'dart:convert';
import 'dart:typed_data';
Socket socket;
int _id = 1;
const int SERVERDATA_AUTH = 3;
const int SERVERDATA_AUTH_RESPONSE = 2;
const int SERVERDATA_EXECCOMMAND = 2;
import 'dart:convert';
void main(){
List list = [{'foo' : 'bar'}, {'foo2' : 'bar2'}];
print(json.encode(list));
}