12-10-2015, 11:13 PM
Heyo! ( im literally newbie in lua... )
Is there any function/script that check ItemID on POS and If it's true ---> Use ID2 on same POS?
local id
local id2
local pos
If (itemIDonPOS=(id1, posx, posy, posz)=true)
{
UseItemIDonPOS(id2, posx, posy, posz);
/// goto nexttask;
}
else /// goto tryagain;
Is there any function/script that check ItemID on POS and If it's true ---> Use ID2 on same POS?
local id
local id2
local pos
If (itemIDonPOS=(id1, posx, posy, posz)=true)
{
UseItemIDonPOS(id2, posx, posy, posz);
/// goto nexttask;
}
else /// goto tryagain;