Lots of small fixes/improvements

This commit is contained in:
BotoX
2017-05-20 05:08:31 +02:00
parent 3912295377
commit 371d1ce242
10 changed files with 40 additions and 76 deletions
+3 -2
View File
@@ -27,10 +27,11 @@ public OnPluginStart()
HookEntityOutput("game_ui", "PlayerOff", GameUI_PlayerOff);
// Gamedata.
new Handle:hConfig = LoadGameConfigFile("FixGameUI.games");
Handle hConfig = LoadGameConfigFile("sdktools.games");
if (hConfig == INVALID_HANDLE)
{
SetFailState("Could not find gamedata file: FixGameUI.games.txt");
SetFailState("Couldn't load sdktools game config!");
return;
}
new offset = GameConfGetOffset(hConfig, "AcceptInput");