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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Turning off scripts for certain players

Turning off scripts for certain players

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
3 Posts 2 Posters 103 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined Offline
    undefined Offline
    Bloopd0g
    wrote on Apr 7, 2024, 6:47 PM last edited by
    #1

    Hello recently ive been playing with my fiance and friend on our computers in zombies. the issue is my fiance is a controller player and the aim assist in plutonium isnt similar to the console aim assist in zombies. I found a script I use to give her aim assist, but it also affects me and my friend on pc. is there way to make certain scripts affect certain players by name? Or is there a way to add a keybind to disable the script for the player who presses the keybind? here is the script I have.

    these are all very basic fixes i can think of if its implementable as I dont plan on using it any other way than saying hey friend click this button to turn it off.

    1 Reply Last reply
    0
    • undefined Offline
      undefined Offline
      Resxt Plutonium Staff
      wrote on Apr 7, 2024, 8:06 PM last edited by
      #2

      Yes. Just add a condition where it calls the function on the player

      onPlayerConnect()
      {
      	level endon("end_game");
          for(;;)
          {
              level waittill("connected", player);
              
              if (player.name == "Resxt")
              {
                    player thread AimAssist();
              }
      	}
      }
      
      1 Reply Last reply
      0
      • undefined Offline
        undefined Offline
        Bloopd0g
        wrote on Apr 8, 2024, 7:14 AM last edited by
        #3

        Thank you so much.

        1 Reply Last reply
        1

        2/3

        Apr 7, 2024, 8:06 PM

        • Login

        • Don't have an account? Register

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