Ola galera, estou com essa script de quando o player casa ele recebe um look, porém esse look fica no lugar do nome do player e o nome do player é removido
tfs 0.3.6
script
function onLook(cid, thing, position, lookDistance)
if isPlayer(thing.uid) then
local k = getPlayerMarriage(getPlayerGUID(thing.uid))
if k then
doPlayerSetSpecialDescription(thing.uid,". " .. (thing.uid == cid and "You are" or (getPlayerSex(thing.uid) == 0 and "She" or "He") .. " is") .. " Casado com [" .. getPlayerNameByGUID(k) .."]")
end
end
return true
end
Pode fechar o tópico, ja consegui resolver.