Native referenceRedMclient

CREATE_TIMECYCLE_MODIFIER

0x70FA2AFA CFX
FUNCTION SIGNATURE
int CREATE_TIMECYCLE_MODIFIER(char* modifierName);
Property Value
Native Name CREATE_TIMECYCLE_MODIFIER
Hash 0x70FA2AFA
Return Type int
API Set client
Parameters modifierName (char*)

Description: Create a clean timecycle modifier. See SET_TIMECYCLE_MODIFIER_VAR to add variables.

Parameters

  • modifierName (char*) — The new timecycle name, must be unique.

Examples

local modifierName = "my_awesome_timecycle"
local createdIndex = CreateTimecycleModifier(modifierName)

if createdIndex ~= -1 then
  SetTimecycleModifier(modifierName)
end
Back to CFX