Post: How to give 2 people host menu in bo2
08-29-2017, 12:23 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey, guys, I want to give the host and another player a host menu, what is the code for that?

Is there something I can add on the end of if(self isHost()) to include a Gamertag as well?
Thanks in advance!
08-29-2017, 02:26 PM #2
Patrick
League Champion
Originally posted by YT View Post
Hey, guys, I want to give the host and another player a host menu, what is the code for that?

Is there something I can add on the end of if(self isHost()) to include a Gamertag as well?
Thanks in advance!


add a check for their name inside of the if statement.
08-29-2017, 02:52 PM #3
Originally posted by Patrick View Post
add a check for their name inside of the if statement.


im a bit of a noob could you send me the code please
08-29-2017, 02:58 PM #4
Patrick
League Champion
Originally posted by YT View Post
im a bit of a noob could you send me the code please


I don't know what function you're using to get the players name without clantag..
but here
    if(self isHost() || self getName() == "NAME HERE" || self getName() == "NAME HERE")


change <getName> with your get name functions.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo