Solved Problem With Script
-
@cutiehacker Oh, I misread, sorry.
-
-
@ali00035 its ok, Its a problem with the code
-
@ali00035 What about math.floor? I am using that already in the script
-
@cutiehacker said in Problem With Script:
@ali00035 What about math.floor? I am using that already in the script
The correct way is just Math.floor
-
@ali00035 can you show me the code, because I cant quite understand what you mean by "The Correct Way Is Just Math.Floor"
-
@cutiehacker Instead of "Math.Floor" or "math.floor", You just have to type "Math.floor"
-
@ali00035 no..........
-
@cutiehacker ?
-
@ali00035 It works Thank You, I cant believe such a simple mistake cost me that much time!
-
kumri owo
-
@cutiehacker No problem.
Nice avatar by the way.
-
@ali00035 thanks!
-
@cutiehacker No problem again.
-
@ali00035 One More Question The Server This Is For (minemora) Has a zombie that for some reason the kill player is the zombie, Is there a way to check if the entity is not a zombie?
-
@cutiehacker I tired if(target.getname != "Zombie") but that did not seem to work
-
If (!(entity instanceof EntityZombie))
//coderemember to import the zombie class to avoid errors
-
@plumer-man said in Problem With Script:
If (!(entity instanceof EntityZombie))
There is something wrong here.
-
@ali00035 ? What Is Wrong About It?
-
@cutiehacker There are unnecessary brackets in that code.
-
@ali00035 oh I thought It was like a error