Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Support] Sniper Only and VIP/Privileged users

[Support] Sniper Only and VIP/Privileged users

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
20 Posts 9 Posters 1.1k Views 2 Watching
  • 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.
  • Radonundefined Radon

    Nifer Yes, use XUID instead of name

    Niferundefined Offline
    Niferundefined Offline
    Nifer
    wrote on last edited by
    #5

    Radon I get a syntax error. Idk what I'm doing wrong

    1 Reply Last reply
    0
    • Radonundefined Radon

      Nifer Yes, use XUID instead of name

      Niferundefined Offline
      Niferundefined Offline
      Nifer
      wrote on last edited by
      #6

      Radon
      isVip ()
      {
      myXuid = self getXuid()

      switch ( myXuid )
      {
      	case "hghgh322": //vip player 1
      	case "qqq223qq": //vip player 2
      	case "jjsdk2k3jk": //vip player 3
      	case "sdkk23jk2": //vip player 4
      		return true;
      	default : 
      		return false;
      }
      

      }

      I'm using this and calling the function elsewhere in the script. I found this in the forums somewhere

      frostyundefined 1 Reply Last reply
      0
      • Niferundefined Nifer

        Radon
        isVip ()
        {
        myXuid = self getXuid()

        switch ( myXuid )
        {
        	case "hghgh322": //vip player 1
        	case "qqq223qq": //vip player 2
        	case "jjsdk2k3jk": //vip player 3
        	case "sdkk23jk2": //vip player 4
        		return true;
        	default : 
        		return false;
        }
        

        }

        I'm using this and calling the function elsewhere in the script. I found this in the forums somewhere

        frostyundefined Offline
        frostyundefined Offline
        frosty
        wrote on last edited by
        #7

        Nifer Also pretty soon they are going to be using forum names for in game names like Rekt does im pretty sure, so in that case you can just put their name in assuming they cant change it

        Mr. Androidundefined 1 Reply Last reply
        0
        • frostyundefined frosty

          Nifer Also pretty soon they are going to be using forum names for in game names like Rekt does im pretty sure, so in that case you can just put their name in assuming they cant change it

          Mr. Androidundefined Offline
          Mr. Androidundefined Offline
          Mr. Android
          Plutonium Admin
          wrote on last edited by
          #8

          frosty Still best to use xuid, more reliable i believe.

          frostyundefined 1 Reply Last reply
          0
          • Mr. Androidundefined Mr. Android

            frosty Still best to use xuid, more reliable i believe.

            frostyundefined Offline
            frostyundefined Offline
            frosty
            wrote on last edited by
            #9

            @Mr-Android Any estimate on the release of that update btw?

            H3X1Cundefined 1 Reply Last reply
            0
            • Niferundefined Offline
              Niferundefined Offline
              Nifer
              wrote on last edited by
              #10

              I figured out snipers only damage.

              However, I'm still stuck on this ;(
              Its a simple syntax error and i can't figure it out
              Screenshot_6.png

              Jaxundefined 1 Reply Last reply
              0
              • Niferundefined Nifer

                I figured out snipers only damage.

                However, I'm still stuck on this ;(
                Its a simple syntax error and i can't figure it out
                Screenshot_6.png

                Jaxundefined Offline
                Jaxundefined Offline
                Jax
                Contributor
                wrote on last edited by
                #11

                Nifer said in Sniper Only and VIP/Privileged users:

                I figured out snipers only damage.

                However, I'm still stuck on this ;(
                Its a simple syntax error and i can't figure it out
                Screenshot_6.png

                add a semicolon after getXuid() e.g: myXuid = self getXuid();

                Niferundefined 1 Reply Last reply
                0
                • Jaxundefined Jax

                  Nifer said in Sniper Only and VIP/Privileged users:

                  I figured out snipers only damage.

                  However, I'm still stuck on this ;(
                  Its a simple syntax error and i can't figure it out
                  Screenshot_6.png

                  add a semicolon after getXuid() e.g: myXuid = self getXuid();

                  Niferundefined Offline
                  Niferundefined Offline
                  Nifer
                  wrote on last edited by
                  #12

                  Jax Thank you, however I've added the semicolon and I still have the syntax error

                  1 Reply Last reply
                  0
                  • Jaxundefined Offline
                    Jaxundefined Offline
                    Jax
                    Contributor
                    wrote on last edited by Emosewaj
                    #13
                    isVip()
                    {
                    
                        myXuid = self getXuid();
                    
                        switch(myxuid)
                        {
                            case "12345678": //vip player 1
                            case "12345678": //vip player 2
                            case "12345678": //vip player 3
                            case "12345678": //vip player 4
                                return true;
                            default:
                                return false;
                        }
                    }
                    

                    Note: make sure the XUIDs your are inputting are 8 characters long

                    1 Reply Last reply
                    0
                    • grixundefined Offline
                      grixundefined Offline
                      grix
                      wrote on last edited by
                      #14

                      How do i add/make this work for my menu? do i put it in the menu folder in gametypes or?

                      kuxqiundefined 1 Reply Last reply
                      0
                      • grixundefined grix

                        How do i add/make this work for my menu? do i put it in the menu folder in gametypes or?

                        kuxqiundefined Offline
                        kuxqiundefined Offline
                        kuxqi
                        wrote on last edited by
                        #15

                        grix are you able to help make me a menu

                        Radonundefined 1 Reply Last reply
                        0
                        • kuxqiundefined kuxqi

                          grix are you able to help make me a menu

                          Radonundefined Offline
                          Radonundefined Offline
                          Radon
                          wrote on last edited by
                          #16

                          kuxqi Add me on discord Radon#7616

                          1 Reply Last reply
                          0
                          • kuxqiundefined Offline
                            kuxqiundefined Offline
                            kuxqi
                            wrote on last edited by
                            #17

                            Radon ae ya ????C?dffggdfg

                            luigistyleundefined 1 Reply Last reply
                            0
                            • kuxqiundefined kuxqi

                              Radon ae ya ????C?dffggdfg

                              luigistyleundefined Offline
                              luigistyleundefined Offline
                              luigistyle
                              Plutonium Staff
                              wrote on last edited by
                              #18

                              kuxqi said in Sniper Only and VIP/Privileged users:

                              Radon ae ya ????C?dffggdfg

                              nice english

                              1 Reply Last reply
                              0
                              • kuxqiundefined Offline
                                kuxqiundefined Offline
                                kuxqi
                                wrote on last edited by
                                #19

                                luigistyle its because 25 letter thing

                                1 Reply Last reply
                                0
                                • frostyundefined frosty

                                  @Mr-Android Any estimate on the release of that update btw?

                                  H3X1Cundefined Offline
                                  H3X1Cundefined Offline
                                  H3X1C
                                  Plutonium Staff
                                  wrote on last edited by
                                  #20

                                  frosty said in Sniper Only and VIP/Privileged users:

                                  @Mr-Android Any estimate on the release of that update btw?

                                  Soon TM. You should know we don't give out dates. Software development even in a controlled business environment only provide rough estimates, so a project the Devs do in their spare time makes it near impossible to put a date range on.

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Donate