Turning off scripts for certain players
-
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.
-
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(); } } }
-
Thank you so much.