Class cWorld; Function ScheduleTask; Only one Function Callback
#5
Or a Call the Function recursively.
Is that the best Option, realy?
Code:
function Initialize(Plugin)
  Plugin:SetName("MyPlugin")
  Plugin:SetVersion(1)
  local World = cRoot:Get():GetDefaultWorld()
  TaskFunction(World)
  return true
end

function TaskFunction(World)
  World:ScheduleTask(100, TaskFunction)
  LOG(World:GetName())
end
Reply
Thanks given by:


Messages In This Thread
RE: Class cWorld; Function ScheduleTask; Only one Function Callback - by VeryBlackMan - 12-23-2014, 07:51 PM



Users browsing this thread: 1 Guest(s)