doPlayerFollowCreature(cid,"Teste")
doPlayerFollowCreature(cid,"Teste")
info
Grupo: Visconde
Registrado: 26/04/08
Posts: 251
Reputação: +36
Gênero: Masculino
Char no Tibia: 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
Grupo: Visconde
Registrado: 26/04/08
Posts: 251
Reputação: +36
Gênero: Masculino
Char no Tibia: 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
Grupo: Herói
Registrado: 07/03/16
Posts: 1.4k
Reputação: +385
Gênero: Masculino

info
Grupo: Visconde
Registrado: 26/04/08
Posts: 251
Reputação: +36
Gênero: Masculino
Char no Tibia: 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"))