Updated includes and spcomp to SourceMod 1.9
This commit is contained in:
Vendored
+8
-8
@@ -41,7 +41,7 @@
|
||||
* @param client Client index
|
||||
* @param muteState True if client was muted, false otherwise
|
||||
*/
|
||||
forward BaseComm_OnClientMute(client, bool:muteState);
|
||||
forward void BaseComm_OnClientMute(int client, bool muteState);
|
||||
|
||||
/**
|
||||
* Called when a client is gagged or ungagged
|
||||
@@ -49,7 +49,7 @@
|
||||
* @param client Client index
|
||||
* @param gagState True if client was gaged, false otherwise
|
||||
*/
|
||||
forward BaseComm_OnClientGag(client, bool:gagState);
|
||||
forward void BaseComm_OnClientGag(int client, bool gagState);
|
||||
|
||||
/**
|
||||
* Returns whether or not a client is gagged
|
||||
@@ -57,7 +57,7 @@
|
||||
* @param client Client index.
|
||||
* @return True if client is gagged, false otherwise.
|
||||
*/
|
||||
native bool:BaseComm_IsClientGagged(client);
|
||||
native bool BaseComm_IsClientGagged(int client);
|
||||
|
||||
/**
|
||||
* Returns whether or not a client is muted
|
||||
@@ -65,7 +65,7 @@ native bool:BaseComm_IsClientGagged(client);
|
||||
* @param client Client index.
|
||||
* @return True if client is muted, false otherwise.
|
||||
*/
|
||||
native bool:BaseComm_IsClientMuted(client);
|
||||
native bool BaseComm_IsClientMuted(int client);
|
||||
|
||||
/**
|
||||
* Sets a client's gag state
|
||||
@@ -74,7 +74,7 @@ native bool:BaseComm_IsClientMuted(client);
|
||||
* @param gagState True to gag client, false to ungag.
|
||||
* @return True if this caused a change in gag state, false otherwise.
|
||||
*/
|
||||
native bool:BaseComm_SetClientGag(client, bool:gagState);
|
||||
native bool BaseComm_SetClientGag(int client, bool gagState);
|
||||
|
||||
/**
|
||||
* Sets a client's mute state
|
||||
@@ -83,11 +83,11 @@ native bool:BaseComm_SetClientGag(client, bool:gagState);
|
||||
* @param muteState True to mute client, false to unmute.
|
||||
* @return True if this caused a change in mute state, false otherwise.
|
||||
*/
|
||||
native bool:BaseComm_SetClientMute(client, bool:muteState);
|
||||
native bool BaseComm_SetClientMute(int client, bool muteState);
|
||||
|
||||
/* DO NOT EDIT BELOW THIS LINE */
|
||||
|
||||
public SharedPlugin:__pl_basecomm =
|
||||
public SharedPlugin __pl_basecomm =
|
||||
{
|
||||
name = "basecomm",
|
||||
file = "basecomm.smx",
|
||||
@@ -99,7 +99,7 @@ public SharedPlugin:__pl_basecomm =
|
||||
};
|
||||
|
||||
#if !defined REQUIRE_PLUGIN
|
||||
public __pl_basecomm_SetNTVOptional()
|
||||
public void __pl_basecomm_SetNTVOptional()
|
||||
{
|
||||
MarkNativeAsOptional("BaseComm_IsClientGagged");
|
||||
MarkNativeAsOptional("BaseComm_IsClientMuted");
|
||||
|
||||
Reference in New Issue
Block a user