Felipe Monteiro
Webmaster
Here the Rashid travellet, with the real positions of the Tibia Global ;D
in globalevents
Ps. I'm using it on version 0.3 rev5969 ;D without any error
if you liked please like me ;D
Code:
days = {
['Monday'] = {x = 32214, y = 31155, z = 7},
['Tuesday'] = {x = 32306, y = 32835, z = 7},
['Wednesday'] = {x = 32579, y = 32754, z = 7},
['Thursday'] = {x = 33065, y = 32879, z = 6},
['Friday'] = {x = 33233, y = 32484, z = 7},
['Saturday'] = {x = 33168, y = 31810, z = 6},
['Sunday'] = {x = 32328, y = 31782, z = 6},
}
function onStartup()
return doCreateNpc("Rashid", days[os.date('%A')])
end
in globalevents
Code:
<globalevent name="rashid" type="start" event="script" value="rashid.lua"/>
Ps. I'm using it on version 0.3 rev5969 ;D without any error
if you liked please like me ;D