Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
To post a comment, please login or register a new account.
function use item(x,y,z,itemId,blockId,side)
{
if(blockId==57)
{
setTile(x,y+1,z,57)
}
if(blockId==41)
{
set tile(x,y+1,z,41)
}
}
PLEASE,please help me if you can thanks in advanced.
Go tohttp://modpe.enjin.com for mod lessons and more !!
function useItem(x,y,z,itemId,blockId,side) { if(blockId==57) { setTile(x,y+1,z,57); } else if(blockId==41) { setTile(x,y+1,z,41); } }+1 if i helped
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
var money=0;
function attackHook(attacker, victim)
{
if(getCarriedItem()==272||getCarriedItem()==268|| getCarriedItem()==267|| getCarriedItem()==276||getCarriedItem()==283)
{
money=money+10;
clientMessage("+10$");
}
}
function useItem(x,y,z,itemId,blockId,side)
{
if(blockId==57)
{
if(money>10||money==10)
{
addItemInventory(272, 1);
money=money-10;
}
else if(blockId==41)// this part and below isnt working
{
if(money>20||money==20)
{
money=money-20;
addItemInventory(268, 1);
}
}
}
}
var money=0; function attackHook(attacker, victim){ if(getCarriedItem()==272 || getCarriedItem()==268 || getCarriedItem()==267 || getCarriedItem()==276 || getCarriedItem()==283){ money=money+10; clientMessage("+10$"); } } function useItem(x,y,z,itemId,blockId,side){ if(blockId==57 && money=>10){ addItemInventory(272, 1); money=money-10; }else if(blockId==41 && money=>20){ money=money-20; addItemInventory(268, 1); } }Let me know if it doesn't.
Please click that little green button down there to if I helped!
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->