Added native interface for Basecomm plugin (bug 2594, r=fyren).

This commit is contained in:
Nicholas Hastings
2011-07-06 22:34:21 -04:00
parent 838e8c7b35
commit bb7f7eff51
4 changed files with 265 additions and 8 deletions
+11
View File
@@ -59,6 +59,17 @@ new Handle:hTopMenu = INVALID_HANDLE;
new g_GagTarget[MAXPLAYERS+1];
#include "basecomm/gag.sp"
#include "basecomm/natives.sp"
public APLRes:AskPluginLoad2(Handle:myself, bool:late, String:error[], err_max)
{
CreateNative("BaseComm_IsClientGagged", Native_IsClientGagged);
CreateNative("BaseComm_IsClientMuted", Native_IsClientMuted);
CreateNative("BaseComm_SetClientGag", Native_SetClientGag);
CreateNative("BaseComm_SetClientMute", Native_SetClientMute);
return APLRes_Success;
}
public OnPluginStart()
{