Eu uso essa script no meu ot acredito que você tem conhecimento sobre script então ta aqui.
positions = {
{x = 93, y = 114, z = 7},
{x = 98, y = 114, z = 7}
}
function onJoinChannel(cid, channel, users)
if getPlayerVocation(cid) == 2 then
if channel == 19 then
doTeleportThing(cid,positions[math.random(#positions)])
doSendMagicEffect(getThingPos(cid), "Enter!", 4)
doSendAnimatedText(getThingPos(cid), "EnterGame!", 200)
doPlayerSetVocation(cid, 0)
end
end
return true
end










info
Grupo: Campones
Registrado: 08/01/07
Posts: 58
Reputação: +3
Boa tarde galera preciso de um script simples, porem não estou conseguindo !
Kero um scrip que teleport o Player, porem varie a possição que ele irá cair !
ex : o player cai na pos :
x=111, y=111, z=1
pos : x=222, y=222, z=2