forked from UNLOZE/sm-plugins
Add QuickSwitch and fix bugs
This commit is contained in:
@@ -91,15 +91,18 @@ public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max
|
||||
CreateNative("ReadClientFriends", Native_ReadClientFriends);
|
||||
RegPluginLibrary("AdvancedTargeting");
|
||||
|
||||
g_bLateLoad = late;
|
||||
return APLRes_Success;
|
||||
}
|
||||
|
||||
public void OnAllPluginsLoaded()
|
||||
{
|
||||
g_Plugin_voiceannounce_ex = LibraryExists("voiceannounce_ex");
|
||||
g_Extension_Voice = LibraryExists("Voice");
|
||||
|
||||
LogMessage("AdvancedTargeting capabilities:\nVoiceAnnounce: %s\nVoice: %s",
|
||||
(g_Plugin_voiceannounce_ex ? "loaded" : "not loaded"),
|
||||
(g_Extension_Voice ? "loaded" : "not loaded"));
|
||||
|
||||
g_bLateLoad = late;
|
||||
return APLRes_Success;
|
||||
}
|
||||
|
||||
public Action Command_Admins(int client, int args)
|
||||
|
||||
Reference in New Issue
Block a user