Hi, i make script with this function http://otland.net/threads/docreaturefollowplayer-cid-creature.51305/#post-515655
i summon rat and this rat follow player.
but not working please help.
i summon rat and this rat follow player.
Code:
function onSay(cid, words, param, channel)
local player = getPlayerByName(param)
local dest = getCreaturePosition(player)
local monster = getThingFromPos(pos).uid
doCreatureFollowPlayer(dest, monster)
end