function onThink(cid, interval, lastExecution)
on,storage,pos = getPlayersOnline(),52565,{x = 1250,y = 2520,z = 7}
if #on > 0 then
for i = 1, #on do
if getPlayerStorageValue(on[i], storage) >= 1 then
doTeleportThing(on[i], pos)
end
end
end
return true
end
tutorial:
http://www.xtibia.co.../151237-osdate/





info
Grupo: Conde
Registrado: 25/01/12
Posts: 963
Reputação: +265
Olá galera, queria sabe como eu faço pra teleportar os player que tem a storage a baixo por ONTHINK:
sotrage = 52565
pos = { x = 1250, y = 2520, z = 7 }
E quem pudesse colocar um tutorial de ("OS.DATE" e "OS.TIME") agradeceria.
Só isso galera vlw.