Update Forward Creation to Newer GlobalForward Methodmap (#1143)
This commit is contained in:
@@ -33,11 +33,11 @@
|
|||||||
|
|
||||||
void FireOnClientMute(int client, bool muteState)
|
void FireOnClientMute(int client, bool muteState)
|
||||||
{
|
{
|
||||||
static Handle hForward;
|
static GlobalForward hForward;
|
||||||
|
|
||||||
if(hForward == null)
|
if(hForward == null)
|
||||||
{
|
{
|
||||||
hForward = CreateGlobalForward("BaseComm_OnClientMute", ET_Ignore, Param_Cell, Param_Cell);
|
hForward = new GlobalForward("BaseComm_OnClientMute", ET_Ignore, Param_Cell, Param_Cell);
|
||||||
}
|
}
|
||||||
|
|
||||||
Call_StartForward(hForward);
|
Call_StartForward(hForward);
|
||||||
@@ -48,11 +48,11 @@ void FireOnClientMute(int client, bool muteState)
|
|||||||
|
|
||||||
void FireOnClientGag(int client, bool gagState)
|
void FireOnClientGag(int client, bool gagState)
|
||||||
{
|
{
|
||||||
static Handle hForward;
|
static GlobalForward hForward;
|
||||||
|
|
||||||
if(hForward == null)
|
if(hForward == null)
|
||||||
{
|
{
|
||||||
hForward = CreateGlobalForward("BaseComm_OnClientGag", ET_Ignore, Param_Cell, Param_Cell);
|
hForward = new GlobalForward("BaseComm_OnClientGag", ET_Ignore, Param_Cell, Param_Cell);
|
||||||
}
|
}
|
||||||
|
|
||||||
Call_StartForward(hForward);
|
Call_StartForward(hForward);
|
||||||
|
|||||||
Reference in New Issue
Block a user