Update Forward Creation to Newer GlobalForward Methodmap (#1143)
This commit is contained in:
parent
c052eb3969
commit
4a8c869b7e
@ -33,11 +33,11 @@
|
||||
|
||||
void FireOnClientMute(int client, bool muteState)
|
||||
{
|
||||
static Handle hForward;
|
||||
static GlobalForward hForward;
|
||||
|
||||
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);
|
||||
@ -48,11 +48,11 @@ void FireOnClientMute(int client, bool muteState)
|
||||
|
||||
void FireOnClientGag(int client, bool gagState)
|
||||
{
|
||||
static Handle hForward;
|
||||
static GlobalForward hForward;
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user