darcioantonio
www.adventurerpg.com.br
- Joined
- Jul 30, 2013
- Messages
- 165
- Solutions
- 1
- Reaction score
- 4
- Location
- Brasil
- Twitch
- darcio_
- YouTube
- UCEXCOEw_dYchojHNz
I Need check more itens.
I did this script but it only checks if it is 1 item just wanted to check + 1 an example of item 2152 wanted it 22 items
I did this script but it only checks if it is 1 item just wanted to check + 1 an example of item 2152 wanted it 22 items
Lua:
function onUse(cid)
local sqm = {x = 975, y = 844, z = 6}
local Bancada = 1642
local Item1 = 2152
if getTileItemById(sqm, Bancada).uid >= 1 and getTileItemById(sqm, Item1).uid >= 2 then
doSendMagicEffect(sqm, 30)
end
end