I want to heal players every 1 second when they are in pos 160,51,7.
Here is my script:
if getCreaturePosition(cid) == {x = 160, y = 51, z = 7, stackpos = 1}
then
doCreatureAddHealth(cid, 10)
end
end
But i have error in server engine:
[13/06/2010 21:32:48] [Warning - Event::loadScript] Event onThink not found (data/globalevents/scripts/ladowanietemple.lua)
Need help
Here is my script:
if getCreaturePosition(cid) == {x = 160, y = 51, z = 7, stackpos = 1}
then
doCreatureAddHealth(cid, 10)
end
end
But i have error in server engine:
[13/06/2010 21:32:48] [Warning - Event::loadScript] Event onThink not found (data/globalevents/scripts/ladowanietemple.lua)
Need help