Can someone help me to update this script, because GetEntityLUAHealth no longer exist
gr David
-------------------------------------------------------------------
spawnmaker_cycle = 0
function spawnmaker_init(e)
spawnmaker_cycle = 0
end
function spawnmaker_main(e)
Prompt ("GetEntityLUAHealth(1) = " ..GetEntityLUAHealth(1) .. " spawnmaker_cycle=" .. spawnmaker_cycle )
if g_Time > spawnmaker_cycle then
spawnmaker_cycle = g_Time + 500
if GetEntityLUAHealth(1) <= 0 then
Spawn(1)
end
end
end
The author of this post has marked a post as an answer.
Go to answer