Olá, Ékstibiano.
Apresenta algum erro no console, se sim, qual?
Você se certificou de registrar o respectivo creaturescript no arquivo login.lua e no creaturescripts.xml?
Você também pode escrever o código dessa maneira:
function onLook(cid, thing, position, lookDistance)
if(isPlayer(thing.uid)) then
return doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, (getCreatureSkullType(thing.uid) == SKULL_RED and "Redskulled player. Kill without problems!" or "Non-redskulled player. If you kill ".. (getPlayerSex(thing.uid) == 0 and "her" or "him") ..", you will get a frag!")
end
return false
end
Abraços,
Oneshot.






info
Grupo: Infante
Registrado: 27/07/09
Posts: 1.5k
Reputação: +405
Char no Tibia: Gean Riot
Bom eu preciso de ajuda com esse script que estou criando,a função é simplez mostrar se o player está REDSKULL dando look.
Olha como eu fiz mas não funcionou por enquanto....
se poderem concertar agradeço.