CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Solved Problem With Script

    ScriptAPI
    4
    32
    461
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ali00035
      Ali00035 Banned @kumri owo last edited by

      @cutiehacker Oh, I misread, sorry.

      kumri owo 1 Reply Last reply Reply Quote 0
      • Ali00035
        Ali00035 Banned @kumri owo last edited by

        @cutiehacker said in Problem With Script:

        Math.Floor

        Math.floor is the right way.

        kumri owo 1 Reply Last reply Reply Quote 0
        • kumri owo
          kumri owo @Ali00035 last edited by

          @ali00035 its ok, Its a problem with the code

          1 Reply Last reply Reply Quote 20
          • kumri owo
            kumri owo @Ali00035 last edited by

            @ali00035 What about math.floor? I am using that already in the script

            Ali00035 1 Reply Last reply Reply Quote 17
            • Ali00035
              Ali00035 Banned @kumri owo last edited by

              @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

              kumri owo 1 Reply Last reply Reply Quote 0
              • kumri owo
                kumri owo @Ali00035 last edited by

                @ali00035 can you show me the code, because I cant quite understand what you mean by "The Correct Way Is Just Math.Floor"

                Ali00035 1 Reply Last reply Reply Quote 19
                • Ali00035
                  Ali00035 Banned @kumri owo last edited by

                  @cutiehacker Instead of "Math.Floor" or "math.floor", You just have to type "Math.floor"

                  kumri owo 1 Reply Last reply Reply Quote 0
                  • kumri owo
                    kumri owo @Ali00035 last edited by

                    @ali00035 no..........

                    Ali00035 1 Reply Last reply Reply Quote 20
                    • Ali00035
                      Ali00035 Banned @kumri owo last edited by

                      @cutiehacker ?

                      kumri owo 1 Reply Last reply Reply Quote 0
                      • kumri owo
                        kumri owo @Ali00035 last edited by

                        @ali00035 It works Thank You, I cant believe such a simple mistake cost me that much time!

                        Ali00035 1 Reply Last reply Reply Quote 19
                        • Topic has been marked as solved  kumri owo kumri owo 
                        • Ali00035
                          Ali00035 Banned @kumri owo last edited by

                          @cutiehacker No problem.

                          Nice avatar by the way.

                          kumri owo 1 Reply Last reply Reply Quote 0
                          • kumri owo
                            kumri owo @Ali00035 last edited by

                            @ali00035 thanks!

                            Ali00035 1 Reply Last reply Reply Quote 18
                            • Ali00035
                              Ali00035 Banned @kumri owo last edited by

                              @cutiehacker No problem again. 😄

                              kumri owo 1 Reply Last reply Reply Quote 1
                              • kumri owo
                                kumri owo @Ali00035 last edited by

                                @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?

                                kumri owo 1 Reply Last reply Reply Quote 19
                                • kumri owo
                                  kumri owo @kumri owo last edited by

                                  @cutiehacker I tired if(target.getname != "Zombie") but that did not seem to work

                                  Plumer Man 1 Reply Last reply Reply Quote 16
                                  • Plumer Man
                                    Plumer Man @kumri owo last edited by

                                    If (!(entity instanceof EntityZombie))
                                    //code

                                    remember to import the zombie class to avoid errors

                                    Ali00035 1 Reply Last reply Reply Quote 0
                                    • Ali00035
                                      Ali00035 Banned @Plumer Man last edited by

                                      @plumer-man said in Problem With Script:

                                      If (!(entity instanceof EntityZombie))

                                      There is something wrong here.

                                      kumri owo 1 Reply Last reply Reply Quote 0
                                      • kumri owo
                                        kumri owo @Ali00035 last edited by

                                        @ali00035 ? What Is Wrong About It?

                                        Ali00035 1 Reply Last reply Reply Quote 19
                                        • Ali00035
                                          Ali00035 Banned @kumri owo last edited by

                                          @cutiehacker There are unnecessary brackets in that code.

                                          kumri owo A 2 Replies Last reply Reply Quote 0
                                          • kumri owo
                                            kumri owo @Ali00035 last edited by

                                            @ali00035 oh I thought It was like a error

                                            1 Reply Last reply Reply Quote 18
                                            • First post
                                              Last post
                                            About
                                            • Terms of Service
                                            • Privacy Policy
                                            • Status
                                            • Contact Us
                                            Downloads
                                            • Releases
                                            • Source code
                                            • License
                                            Docs
                                            • Tutorials
                                            • CustomHUD
                                            • AutoSettings
                                            • ScriptAPI
                                            Community
                                            • Forum
                                            • Guilded
                                            • YouTube
                                            • Twitter
                                            • D.Tube