zcmd - Confused??
#1

Well, I was reading on the include for zcmd 0.3.1 and noticed an odd function.

pawn Код:
public OnGameModeInit()
{
        zcmd_g_HasOPCS = funcidx("OnPlayerCommandReceived") != -1;
        zcmd_g_HasOPCE = funcidx("OnPlayerCommandPerformed") != -1;
        if (funcidx("zcmd_OnGameModeInit") != -1)
        {
                return CallLocalFunction("zcmd_OnGameModeInit", "");
       }      
        return 1;
}
What is this function funcidx and what does it do? I have searched the wiki also.
Reply


Messages In This Thread
zcmd - Confused?? - by pagie1111 - 18.09.2010, 13:37
Re: zcmd - Confused?? - by pagie1111 - 18.09.2010, 13:43
Re: zcmd - Confused?? - by LarzI - 18.09.2010, 14:13
Re: zcmd - Confused?? - by Sergei - 18.09.2010, 14:15
Re: zcmd - Confused?? - by Zh3r0 - 18.09.2010, 14:25

Forum Jump:


Users browsing this thread: 1 Guest(s)