forked from UNLOZE/sm-plugins
Lots of small fixes/improvements
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user