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.
  • Niferundefined Nifer

    Hello, I've been working on a trickshot server for my friends and I.
    So far I have everything I need except for sniper only damage, and VIP users.
    I saw on the forums that Enki posted snipers only but everytime I load it into my server, I become immune to death barriers.
    I can't seem to figure it out.

    Also for VIP users, I have a save/load position function that I only want VIP users to be able to use.

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

    Nifer Find a menu base that allows names in the gsc. a simple google search will probably find you this. You put your friends name, they get the menu, and then you edit the menu to your liking with the features.

    Niferundefined 1 Reply Last reply
    0
    • frostyundefined frosty

      Nifer Find a menu base that allows names in the gsc. a simple google search will probably find you this. You put your friends name, they get the menu, and then you edit the menu to your liking with the features.

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

      frosty Wait but then couldn't anyone change their name to my friend's name and also get VIP?

      Radonundefined 1 Reply Last reply
      0
      • Niferundefined Nifer

        frosty Wait but then couldn't anyone change their name to my friend's name and also get VIP?

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

        Nifer Yes, use XUID instead of name

        Niferundefined 2 Replies Last reply
        0
        • 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