1
ayuda como crear quest el Jue Ago 31, 2017 2:22 am
shadowviid

Nuevo Miembro

a chest that gives you items such as the addon doll
If you can tell me, please
use tfs 1.3
Tibiaface | Una comunidad Open Tibia donde encontras : mapas, scripts, Otserver, npc y amigos etc ...
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if player:getStorageValue(xxxx) == -1 then
player:addItem(xxxx, 1)
player:getPosition():sendMagicEffect(CONST_ME_POFF)
player:say('You gained doll outfit.', TALKTYPE_MONSTER_SAY, false, player)
player:setStorageValue(xxxx, 1)
else
player:sendTextMessage(MESSAGE_INFO_DESCR, "It is empty.")
player:getPosition():sendMagicEffect(CONST_ME_POFF)
end
return true
end
<action uniqueid="xxx" script="doll.lua"/>
Permisos de este foro:
No puedes responder a temas en este foro.
|
|