Permalink
Browse files

Try LibraryExists

@Prefix#8371
  • Loading branch information...
Bara committed May 11, 2018
1 parent 16e8a4a commit d2027ef4f0d6034dfe26a19f827f18c77a96bf1c
Showing with 1 addition and 4 deletions.
  1. +1 −4 addons/sourcemod/scripting/ttt/ttt_tactical_shield.sp
@@ -47,10 +47,7 @@ public void OnPluginStart()
public void OnAllPluginsLoaded()
{
char sFile[] = "tacticalshield.smx";
Handle hPlugin = FindPluginByFile(sFile);
if (hPlugin == null || GetPluginStatus(hPlugin) != Plugin_Running)
if (!LibraryExists("tacticalshield"))
{
TTT_RemoveCustomItem(SHORT_NAME_D);
SetFailState("You must have this plugin as base plugin for this items: https://forums.alliedmods.net/showthread.php?t=303333");

0 comments on commit d2027ef

Please sign in to comment.