-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#if defined _ttt_stock_included | ||
#endinput | ||
#endif | ||
#define _ttt_stock_included | ||
|
||
#define TTT_PLUGIN_NAME "Trouble in Terrorist Town" | ||
#define TTT_PLUGIN_AUTHOR "TTT-Contributors" | ||
#define TTT_PLUGIN_DESCRIPTION "The game is about a group of \"terrorists\" who have traitors among them, out to kill everyone who's not a traitor." | ||
#define TTT_PLUGIN_VERSION "<VERSION>" | ||
#define TTT_PLUGIN_URL "https://github.com/Bara/TroubleinTerroristTown" | ||
|
||
#include <autoexecconfig> | ||
|
||
stock void TTT_StartConfig(char[] file, char[] directory = "ttt") | ||
{ | ||
AutoExecConfig_SetCreateDirectory(true); | ||
AutoExecConfig_SetCreateFile(true); | ||
AutoExecConfig_SetFile(file, directory); | ||
} | ||
|
||
stock void TTT_EndConfig() | ||
{ | ||
AutoExecConfig_ExecuteFile(); | ||
AutoExecConfig_CleanFile(); | ||
} | ||
|
||
stock void TTT_IsGameCSGO() | ||
{ | ||
if (GetEngineVersion() != Engine_CSGO) | ||
{ | ||
SetFailState("Only CS:GO Support!"); | ||
return; | ||
} | ||
} |
This file contains 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