Skip to content
  • 0 Unread 0
  • Recent
  • Popular
  • Users
  • 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 2.9k 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.
  • Nifer 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

    frosty Offline
    frosty 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. Android 1 Reply Last reply
    0
    • frosty 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. Android Offline
      Mr. Android Offline
      Mr. Android
      Plutonium Admin
      wrote on last edited by
      #8

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

      frosty 1 Reply Last reply
      0
      • Mr. Android Mr. Android

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

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

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

        H3X1C 1 Reply Last reply
        0
        • Nifer Offline
          Nifer 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

          Jax 1 Reply Last reply
          0
          • Nifer 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

            Jax Offline
            Jax 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();

            Nifer 1 Reply Last reply
            0
            • Jax 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();

              Nifer Offline
              Nifer 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
              • Jax Offline
                Jax 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
                • grix Offline
                  grix 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?

                  kuxqi 1 Reply Last reply
                  0
                  • grix grix

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

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

                    grix are you able to help make me a menu

                    Radon 1 Reply Last reply
                    0
                    • kuxqi kuxqi

                      grix are you able to help make me a menu

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

                      kuxqi Add me on discord Radon#7616

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

                        Radon ae ya ????C?dffggdfg

                        luigistyle 1 Reply Last reply
                        0
                        • kuxqi kuxqi

                          Radon ae ya ????C?dffggdfg

                          luigistyle Offline
                          luigistyle 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
                          • kuxqi Offline
                            kuxqi Offline
                            kuxqi
                            wrote on last edited by
                            #19

                            luigistyle its because 25 letter thing

                            1 Reply Last reply
                            0
                            • frosty frosty

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

                              H3X1C Offline
                              H3X1C 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

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              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
                              • Unread 0
                              • Recent
                              • Popular
                              • Users
                              • Donate