plugins/basecomm.sp
changeset 3340 7eb2b72e42d8
parent 3329 dbd7d203a34e
child 3431 f953b07ba025
     1.1 --- a/plugins/basecomm.sp	Wed Jul 06 18:11:02 2011 -0400
     1.2 +++ b/plugins/basecomm.sp	Wed Jul 06 22:34:21 2011 -0400
     1.3 @@ -59,6 +59,17 @@
     1.4  new g_GagTarget[MAXPLAYERS+1];
     1.5  
     1.6  #include "basecomm/gag.sp"
     1.7 +#include "basecomm/natives.sp"
     1.8 +
     1.9 +public APLRes:AskPluginLoad2(Handle:myself, bool:late, String:error[], err_max)
    1.10 +{
    1.11 +	CreateNative("BaseComm_IsClientGagged", Native_IsClientGagged);
    1.12 +	CreateNative("BaseComm_IsClientMuted",  Native_IsClientMuted);
    1.13 +	CreateNative("BaseComm_SetClientGag",   Native_SetClientGag);
    1.14 +	CreateNative("BaseComm_SetClientMute",  Native_SetClientMute);
    1.15 +	
    1.16 +	return APLRes_Success;
    1.17 +}
    1.18  
    1.19  public OnPluginStart()
    1.20  {