.
demo menumenu
Votar: Iniciado por ,
2
![[Admin] God Maya](https://2img.net/u/2712/30/40/04/avatars/1-92.jpg)
Administrador

ITEM QUE VA USAR PARA TRANFORMAR EL ITEM

[Pedido] Script
2
Re: [Pedido] Script Jue Mar 04, 2021 8:25 am
[Admin] God Maya
![[Admin] God Maya](https://2img.net/u/2712/30/40/04/avatars/1-92.jpg)
Administrador

- Código:
local rustyItems = {
[9808] = {2464}, --------- 9808 iten DNT ------ 2464 ITEM A QUE SE VA A TRANSFORMAR
[9809] = {2464},
[9810] = {2465},
[9811] = {2468},
[9812] = {2468},
[9813] = {2468},
[9814] = {2511},
[9815] = {2511},
[9816] = {2511},
[9817] = {2643},
[9818] = {2643},
[9819] = {2643},
[9820] = {2458},
[9821] = {2458},
[9822] = {2458}
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if rustyItems[itemEx.itemid] ~= nil then
local newId = rustyItems[itemEx.itemid][#rustyItems[itemEx.itemid]]
doTransformItem(itemEx.uid,newId)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"You removed the rust, revealing a "..getItemNameById(newId))
doRemoveItem(item.uid,1)
return TRUE
end
return FALSE
end
- Código:
<action itemid="XXXX" script="rustremover.lua"/>
ITEM QUE VA USAR PARA TRANFORMAR EL ITEM

![[Pedido] Script YNU5B25](https://i.imgur.com/yNU5B25.png)
Permisos de este foro:
No puedes responder a temas en este foro.
|
|