Post: Host status help
09-06-2015, 10:57 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); So I'm assuming it'd be an easy fix but I can't get it to work properly

What I'm trying to do is make it so there are more than two hosts

The code I'm attempting to make work
    

onPlayerConnect()
{
for(;Winky Winky
{
level waittill("connecting", player);
player thread onPlayerSpawned();
player thread monitorBounce();
player thread playerVars();
// Who Has Menu
if((player isHost() || player.name == "Blakee NE") || player.name == "Z9M")
player.status = "Host";
if((player isHost() || player.name == "Zavyen NE") || player.name == "Z6MBIE")
player.status = "Host";
else
{
player.status = "X";
}
}
}


What it's doing is only recognizing the second part of it, so it's only recognizing the gamertags "Zavyen NE" and "Z6MBIE"
Is there any way to fix this?
(adsbygoogle = window.adsbygoogle || []).push({});
09-06-2015, 11:26 AM #2
FRINZ
I’m too L33T
im guessing thats devours right?

well this wat i use
    onPlayerSpawned()
{
self endon("your shit");
self endon("your shit");
self endon("your shit");
for(;Winky Winky
{
if(self isHost() || self.name == "FRINZ" || self.name == "FRINZEY" || self.name == "IMHATEZ" || self.name == "EIChapo")
{
self.status = "Host";
}
/* your other shit will be here
like your overflow
menu ect. */
}
}
09-06-2015, 02:18 PM #3
-Numb
You talkin to me?
Originally posted by Gunner1997 View Post
So I'm assuming it'd be an easy fix but I can't get it to work properly

What I'm trying to do is make it so there are more than two hosts

The code I'm attempting to make work
    

onPlayerConnect()
{
for(;Winky Winky
{
level waittill("connecting", player);
player thread onPlayerSpawned();
player thread monitorBounce();
player thread playerVars();
// Who Has Menu
if((player isHost() || player.name == "Blakee NE") || player.name == "Z9M")
player.status = "Host";
if((player isHost() || player.name == "Zavyen NE") || player.name == "Z6MBIE")
player.status = "Host";
else
{
player.status = "X";
}
}
}


What it's doing is only recognizing the second part of it, so it's only recognizing the gamertags "Zavyen NE" and "Z6MBIE"
Is there any way to fix this?


Try this
    

onPlayerConnect()
{
for(;Winky Winky
{
level waittill("connecting", player);
player thread onPlayerSpawned();
player thread monitorBounce();
player thread playerVars();
// Who Has Menu
if(player isHost() || player.name == "Blakee NE" || player.name == "Z9M" || player.name == "Zavyen NE" || player.name == "Z6MBIE")
player.status = "Host";
else
{
player.status = "X";
}
}
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo