Hi again,
Does anyone know how i could make a cog reconize who the host of a game is?
thanks
                
                
            Does anyone know how i could make a cog reconize who the host of a game is?
thanks
 
This is the static archive of the Massassi Forums.  The forums are
closed indefinitely.  Thanks for all the memories!
You can also download
Super Old Archived Message Boards
from when Massassi first started.
"View" counts are as of the day the forums were archived, and will no longer increase.

![http://forums.massassi.net/html/biggrin.gif [http://forums.massassi.net/html/biggrin.gif]](http://forums.massassi.net/html/biggrin.gif)
![http://forums.massassi.net/html/biggrin.gif [http://forums.massassi.net/html/biggrin.gif]](http://forums.massassi.net/html/biggrin.gif) thanks ill try it
 thanks ill try it![http://forums.massassi.net/html/smile.gif [http://forums.massassi.net/html/smile.gif]](http://forums.massassi.net/html/smile.gif)
symbols
message     join
message     timer
message     startup
end
#---------------------------
code
startup:
player = GetLocalPlayerThing();
Stop;
#---------------------------
join:
new = GetSenderRef();
SetTimerEx(2, new, 0, 0);
Stop;
#---------------------------
timer:
person = GetSenderID();
If(IsServer() == 1)
{
jkStringClear();
jkStringConcatAsciiString("Welcome");
jkStringConcatPlayerName(person); 
jkStringConcatAsciiString(". ");
jkStringConcatPlayerName(player); 
jkStringConcatAsciiString(" is the HOST.");
jkStringOutput(-3, -3);
}
Stop;
#---------------------------
end![http://forums.massassi.net/html/frown.gif [http://forums.massassi.net/html/frown.gif]](http://forums.massassi.net/html/frown.gif)
![http://forums.massassi.net/html/biggrin.gif [http://forums.massassi.net/html/biggrin.gif]](http://forums.massassi.net/html/biggrin.gif)
![http://forums.massassi.net/html/biggrin.gif [http://forums.massassi.net/html/biggrin.gif]](http://forums.massassi.net/html/biggrin.gif)