Postado Abril 15, 2013 12 anos galera eu baxei esse mapa aki no tk hj mas o comando do god /i id nao pega se alguem souber me ajuda aew. desde ja grato qem ajuda tm meu rep. link do mapa http://tibiaking.com/forum/topic/17461-serve-infinity-86/
Postado Julho 7, 2013 12 anos veh se isso ajudar nao me lembro se é essa mais troca por esse e testa ai function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local t = string.explode(param, ",") local ret = RETURNVALUE_NOERROR local pos = getCreaturePosition(cid) local id = tonumber(t[1]) if(not id) then id = getItemIdByName(t[1], false) if(not id) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Item wich such name does not exists.") return true end end local amount = 100 if(t[2]) then amount = t[2] end local item = doCreateItemEx(id, amount) if(t[3] and getBooleanFromString(t[3])) then if(t[4] and getBooleanFromString(t[4])) then pos = getCreatureLookPosition(cid) end ret = doTileAddItemEx(pos, item) else ret = doPlayerAddItemEx(cid, item, true) end if(ret ~= RETURNVALUE_NOERROR) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Couldn't add item: " .. t[1]) return true end doDecayItem(item) if(not isPlayerGhost(cid)) then doSendMagicEffect(pos, CONST_ME_MAGIC_RED) end return true end Se Te Ajudei? REP+ clicando em
Postado Julho 7, 2013 12 anos Vou da essa moral e posta o que uso em meu projeto o Amigo a cima já posto <talkaction log="yes" words="/i" access="4" event="script" value="createitem.lua"/> Editado Julho 7, 2013 12 anos por arthurluna (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.