Pode ser dando use na scarab coin ou por npc:
Action:
function onUse(cid,item,pos)if doPlayerRemoveItem(cid,ID_SCARAB_COIN,1) == TRUE then
doTeleportthing(cid,{x=123,y=123,z=123})
else
doPlayerSendTextMessage(cid,22,"Could not remove the scarab coin.")
end
end
NPC:
para usar em npc, após criar a tag do if msgcontains() then, basta por assim:
if doPlayerRemoveItem(cid,ID_SCARAB_COIN,1) == TRUE thendoTeleportthing(cid,{x=123,y=123,z=123})
else
selfSayCould not remove the scarab coin.)
end







info
Grupo: Barão
Registrado: 02/01/07
Posts: 412
Reputação: +83
Alguem pode me postar um tutorial fazendo um npc que teleporta por scarab coins??
Agradeço Muito Galera..
Vlw