Note: Anticheat related features are omitted from this list for obvious reasons.
- !notice uses a custom color
- .ini configuration
@vote
integration- Added minimize button for the game client window
- Airborne teleporting
aCharacterActionData = | |
{ | |
BSTR_INIT("walk1"), | |
BSTR_INIT("walk2"), | |
BSTR_INIT("stand1"), | |
BSTR_INIT("stand2"), | |
BSTR_INIT("alert"), | |
BSTR_INIT("swingO1"), | |
BSTR_INIT("swingO2"), | |
BSTR_INIT("swingO3"), |
#pragma once | |
#include <any> | |
#include <cstdint> | |
#include <fstream> | |
#include <filesystem> | |
#include <xxhash.h> | |
class file_not_found_exception : public std::runtime_error | |
{ |
template<typename T> | |
T sig_scan(const uint32_t dwStart, const uint32_t dwEnd, const uint8_t abPattern[], const char aMask[], const size_t dwPatternSize) | |
{ | |
for(uint32_t i = dwStart; i < dwEnd; i++) | |
{ | |
for(uint32_t x = 0; x < dwPatternSize; x++) | |
{ | |
const uint8_t bMemory = *reinterpret_cast<uint8_t*>(i + x); | |
if(aMask[x] == 'x' && bMemory != abPattern[x]) |
// some macros so it's easier for me to use AMXX | |
#define null INVALID_HANDLE | |
#define view_as<%1>(%2) %1:(%2) | |
#define char new | |
#define int new | |
#define File new | |
#define void | |
#include <amxmodx> | |
#include <amxmisc> |
// has all the main functions you will be using. | |
#include <sourcemod> | |
// initialize variables | |
float gF_MyNumber = 0.2; | |
int gI_MyNumber = 3; | |
any gA_MyNumber = 5; // can be everything! | |
char gC_MyChar = view_as<char>('a'); // casting | |
// void OnPluginStart() |
// UNTESTED!!!! | |
// Licensed under GNU GPL v3 | |
// License copy: https://gist.github.com/ebe17e6a328bfe354ac30016a807cc16 | |
#include <amxmodx> | |
#include <cstrike> | |
#pragma semicolon 1 | |
#pragma ctrlchar '\' |
#include <sourcemod> | |
#include <sdktools> | |
#include <cstrike> | |
#pragma semicolon 1 | |
#pragma newdecls required | |
char gS_Prefix[32]; | |
bool gB_GiveLR = false; |
#include <sourcemod> | |
#include <standup/stocks_chat> | |
#include <standup/core> | |
#include <standup/ljmode> | |
#define USES_STYLE_PROPERTIES | |
#include <shavit> | |
#include <sourcemod> | |
#pragma semicolon 1 | |
#pragma newdecls required | |
bool gB_MessagePrinted[MAXPLAYERS+1]; | |
char gS_NameColor[16]; |