funcidx("OnPlayerCommandReceived") != -1; Whats != -1 for?
#5

That value is assigned to increase the speed on OnPlayerCommandText. Setting zcmd_g_HasOPCS on OnFilterScriptInit / OnGameModeInit only has to be called once rather than multiple times.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)