function onLook(cid, thing, position, lookDistance) local nome = "Clone das Sombras" if isMonster(thing.uid) and getCreatureMaster(thing.uid) and getCreatureName(thing.uid) == nome then local string = " "..getCreatureName(getCreatureMaster(thing.uid)).." Level-"..getPlayerLevel(getCreatureMaster(thing.uid)).." Vocation - "..getPlayerVocationName(getCreatureMaster(thing.uid)).."" doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) return false end return true end
Coloque a tag em creaturescripts.xml:
<event type="look" name="clone" event="script" value="clone.lua"/>
Registre o evento em login.lua:
registerCreatureEvent(cid, "clone")




info
Grupo: Cavaleiro
Registrado: 04/09/12
Posts: 185
Reputação: +2
Olá...
Gostaria de pedir um script de um summon que copiasse o look do invocador...
Exemplo: Quando vc der look no summon, aparesesse o level,vocation e etc igualzinho ao do dono.
REP+ para qm conseguir.