Permalink
Browse files

Delete handles

  • Loading branch information...
Bara committed Jan 8, 2018
1 parent e5df38c commit fb30f990d3d29c2819faa3004d37cfe6a7814332
Showing with 27 additions and 0 deletions.
  1. +22 −0 addons/sourcemod/configs/ttt/hud_config.ini
  2. +5 −0 addons/sourcemod/scripting/ttt/ttt_models.sp
@@ -0,0 +1,22 @@
"TTT-HUD"
{
// First X-X is the range and the second is the translation name
"Health"
{
"1-20" "NearDeath"
"21-40" "BadlyWounded"
"41-60" "Wounded"
"61-80" "Hurt"
"81-X" "Healthy"
}
"Karma"
{
"75-85" "Liability"
"86-95" "Dangerous"
"96-105" "TriggerHappy"
"106-125" "Crude"
"126-150" "Reputable"
}
}
@@ -47,6 +47,7 @@ public void OnMapStart()
if (!g_bEnable)
{
delete hConfig;
return;
}
@@ -195,6 +196,8 @@ public void OnMapStart()
else
{
SetFailState("Config for '%s' not found!", "Models");
delete hConfig;
return;
}
delete hConfig;
@@ -215,6 +218,8 @@ void SetModel(int client, int role)
if (!FileExists(CONFIG_FILE))
{
SetFailState("[TTT-Models] '%s' not found!", CONFIG_FILE);
delete hConfig;
return;
}

0 comments on commit fb30f99

Please sign in to comment.