<event type="login" name="Temple" script="temple.lua"/>
function onLogin(cid)
local swiatynie = {
{x=,y=,z=},
{x=,z=,z=},
{x=,y=,z=}
}
doTeleportThing(cid, swiatynie[math.random(1, #swiatynie)])
return true
end
registerCreatureEvent(cid, "Temple")
function onLogin(cid)
registerCreatureEvent(cid, "PlayerDeath")
registerCreatureEvent(cid, "PlayerKill")
return TRUE
end
function onLogin(cid)
registerCreatureEvent(cid, "PlayerKill")
if(InitShopComunication == 0) then
local eventServ = addEvent(sql_communication, SQL_COMUNICATION_INTERVAL, {})
InitShopComunication = eventServ
end
registerCreatureEvent(cid, "PlayerDeath")
return TRUE
end
registerCreatureEvent(cid, "Temple")