This commit is contained in:
Yannik Schmidt
2020-06-14 00:52:35 +02:00
parent e734033a82
commit 6af5c082ec
12 changed files with 125 additions and 386 deletions

38
scripting/Skillbird.sp Normal file
View File

@@ -0,0 +1,38 @@
#pragma tabsize 0
#include <sourcemod>
#include <sdktools>
#include "Timers.sp"
#include "EventHandlers.sp"
#define DEFAULT_LEN 64
#define SNAME_LEN 256
/* ---------------------- Plugin ---------------------- */
public Plugin:myinfo = {
name = "skillbird",
author = "FAUSheppy",
description = "Module to interact with the skillbird framework",
version = "3.0",
url = "https://github.com/FAUSheppy/skillbird-sourcemod"
};
public APLRes:AskPluginLoad2(Handle:myself, bool:late, String:error[], err_max){
return APLRes_Success;
}
public OnPluginStart(){
/* Hook Events */
HookEvent("round_end", Event_RoundEnd);
HookEvent("player_team", Event_PlayerChangedTeam);
HookEvent("player_disconnect", Event_PlayerDisconnect);
}
public OnClientAuthorized(client, const String:auth[]){
CreateTimer(5.0, Timer_ConnectMessage, client);
}
public OnMapStart(){
}