Permalink
Browse files

Merge branch 'master' of https://github.com/Bara/TroubleinTerroristTown

  • Loading branch information...
Bara committed Dec 20, 2017
2 parents 905ae17 + 4f56c4b commit 4a91d814123c654048f116d1192eaedc4dc47b51
Showing with 11 additions and 11 deletions.
  1. +3 −3 CREDITS.md
  2. +7 −7 addons/sourcemod/scripting/ttt/ttt.sp
  3. +1 −1 addons/sourcemod/scripting/ttt/ttt_fakebody.sp
View
@@ -1,7 +1,7 @@
- [Bara](https://steamcommunity.com/profiles/76561198041923231/)
- [Franc1sco](https://steamcommunity.com/profiles/76561198011608644/) (original author)
- [good_live](https://steamcommunity.com/profiles/76561198060485155/)
- [whocodes](https://github.com/whocodes)
- [good_live](https://steamcommunity.com/profiles/76561198060485155/)
- [whocodes](http://steamcommunity.com/profiles/76561197987263853/) - [GitHub](https://github.com/whocodes)
- [Franc1sco](https://steamcommunity.com/profiles/76561198011608644/) (original author of basic features)
- [Darkness](https://steamcommunity.com/profiles/76561198127839952/) (for C4, RDM Manager, Health Station and some fixes)
- [Zipcore](https://steamcommunity.com/profiles/76561198035410392/)
- [AdaM](https://steamcommunity.com/profiles/76561198134328733/)
@@ -183,13 +183,6 @@ public void OnConfigsExecuted()
LogMessage("Log File: \"%s\"", g_sLogFile);
LogMessage("Error File :\"%s\"", g_sErrorFile);
}
// Precache models
char sModel[PLATFORM_MAX_PATH + 1];
g_cmodelCT.GetString(sModel, sizeof(sModel));
PrecacheModel(sModel, true);
g_cmodelT.GetString(sModel, sizeof(sModel));
PrecacheModel(sModel, true);
}
public void TTT_OnSQLConnect(Database db)
@@ -450,6 +443,13 @@ public void OnMapStart()
g_iBadNameCount = 0;
LoadBadNames();
// Precache models
char sModel[PLATFORM_MAX_PATH + 1];
g_cmodelCT.GetString(sModel, sizeof(sModel));
PrecacheModel(sModel, true);
g_cmodelT.GetString(sModel, sizeof(sModel));
PrecacheModel(sModel, true);
g_iBeamSprite = PrecacheModel("materials/sprites/bomb_planted_ring.vmt");
g_iHaloSprite = PrecacheModel("materials/sprites/halo.vtf");
@@ -211,7 +211,7 @@ public Action TTT_OnBodyChecked(int client, int[] iRagdollC)
if (g_cShowTraitorAsDead.BoolValue)
{
TTT_SetFoundStatus(iRagdollC[Victim], true);
TTT_SetFoundStatus(GetClientOfUserId(iRagdollC[Victim]), true);
}
iRagdollC[Found] = true;

0 comments on commit 4a91d81

Please sign in to comment.