Post: Does anyone know how to make a mod menu not go to everyone in the lobby?
01-19-2017, 07:10 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I recently got a lobby mod menu so it gives everyone in the lobby the mod menu, I wanted to know if there was a way to make it a normal mod menu that only host (I) can use?*

Thanks
(adsbygoogle = window.adsbygoogle || []).push({});
01-19-2017, 08:25 PM #2
Im_YouViolateMe
NextGenUpdate Elite
There is a way.

Private match with only your self.
01-20-2017, 12:25 AM #3
Originally posted by ThatManGreen View Post
I recently got a lobby mod menu so it gives everyone in the lobby the mod menu, I wanted to know if there was a way to make it a normal mod menu that only host (I) can use?*

Thanks


Without any code and references to public projects, there is only so much anyone can do to help you.
Here is where I suggest you should start. Look at the code that is run when players connect and spawn. Find where the menu code is loaded by the player, delete it then replace it with a:
    
if (player isHost())
player thread InitMenu(); //InitMenu() being your menu's init function, change to whatever it is.
//or
if (self isHost())
self thread InitMenu();

That would cause only the host to load the menu code when the function this is in is ran.
Not sure if this helps, but with the given information, this is the best I can do.
01-20-2017, 02:18 AM #4
Ok, Thanks!
01-20-2017, 02:20 AM #5
Luckeyy
Retired - Lead Content Manager
Originally posted by ThatManGreen View Post
Ok, Thanks!


Anything else you need help with or your questioned was answered?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo