doPlayerFollowCreature(cid,"Teste")
doPlayerFollowCreature(cid,"Teste")
info
Group: Visconde
Joined: 26/04/08
Posts: 251
Reputation: +36
Gender: Masculino
Tibia Character: Senhor Mithril

[23:21:05.027] Description:
[23:21:05.032] (luaDoPlayerFollowCreature) Creature not found
Pelo que vi na função tem que retornar um Id
doPlayerFollowCreature(cid,getCreatureTarget(cid))
info
Group: Visconde
Joined: 26/04/08
Posts: 251
Reputation: +36
Gender: Masculino
Tibia Character: Senhor Mithril

51 minutos atrás, Crypter disse:Pelo que vi na função tem que retornar um Id
doPlayerFollowCreature(cid,getCreatureTarget(cid))
Funcionou!, Obrigado
Me tira só uma dúvida, existe a possibilidade de fazer uma magia que cancela follow?, no caso cancelar se alguém estiver dando follow em você, você usa a magia e essa pessoa que está seguindo-o perca o follow
info
Group: Herói
Joined: 07/03/16
Posts: 1.4k
Reputation: +385
Gender: Masculino

info
Group: Visconde
Joined: 26/04/08
Posts: 251
Reputation: +36
Gender: Masculino
Tibia Character: Senhor Mithril
Alguém sabe usar essa função?
Tentei usar mas da errors como
[21:29:15.003] (luaDoPlayerFollowCreature) Creature not found
[21:29:20.919] (luaGetCreatureName) Creature not found
doPlayerFollowCreature(cid,getCreatureName("Teste"))