Plz help me with my mod here Is the code
/*dawsome
first mod
*/function useItem(x,y,z,itemId,blockId,side){ if(itemId==0){ setPosition(getPlayerEnt(),x,y+2,z);}}
}It keeps saying failed to import
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! ---------------->
ok ok this is what it says
Failed to import patch
if(itemId==0){{Entity.setPosition(Player.getEntity((),x,y+1.62,z);}
org.mozilla.javascript.EvaluatorExeption:missing;before statement(teleport.js#3)
etc
function useItem(x, y, z, itemId, blockId, side)
{
if(itemId == 0)
{
setVelY(getPlayerEnt(), 2); //If you want to go up use setVel()
}
}
If you want me too debug the script PM me the errors.
lol its not teleport but it is fun is flys me up in the airthis mod give me an idea
THE HULK MODwhere when you land you insta kill everything around youanyone wanna help pm meimma creatin another forums for this new mod im thinking about
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
/*dawsome
first mod
*/function useItem(x,y,z,itemId,blockId,side){ if(itemId==0){ setPosition(getPlayerEnt(),x,y+2,z);}}
}It keeps saying failed to import
Well heres the organized code
function useItem(x, y, z, itemId, blockId, side) { if(itemId == 0) { setVelY(getPlayerEnt(), 2); //If you want to go up use setVel() } }If you want me too debug the script PM me the errors.
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! ---------------->
There's nothing wrong with this.
Willing to work on Android apps or multi-platform games, see profile bio for information.
Founder and CEO of Temena Development
Twitter: @TemenaPE
Instagram: @ItsLiterallyMath
function useItem(x,y,z,item,block,side){ if(item==0){Entity.setPosition(Player.getEntity(),x,y+1.62,z);} }btw how do i make it where i need anitem to teleport
Failed to import patch
if(itemId==0){{Entity.setPosition(Player.getEntity((),x,y+1.62,z);}
org.mozilla.javascript.EvaluatorExeption:missing;before statement(teleport.js#3)
etc
THE HULK MODwhere when you land you insta kill everything around youanyone wanna help pm meimma creatin another forums for this new mod im thinking about