Join
|----------|
|-picture-| Logged in: ZDarkGoku
|-picture-|
|----------|
how do i make it says that who is hosting and stuff?
ID:174075
![]() Oct 4 2003, 7:12 am
|
|
when the game is live, in the bottom of the page it says
Join |----------| |-picture-| Logged in: ZDarkGoku |-picture-| |----------| how do i make it says that who is hosting and stuff? |
![]() Oct 4 2003, 7:53 am
|
|
world/status="HELLO!"
|
Try this:
var |
Goku72 wrote:
Try this: > var Woah woah woah! if(!src.client.address) If the client doesn't have an IP, return 1, and make them the host? Totally wrong. It should be if(!world.address) |
to change that line, change world.status. If you make world.status="This Is A Server" in the hub it will say just that; "This Is A Server"
|
Airjoe wrote:
Woah woah woah! Actually, Goku was right here. world.address depends on whether the world is being hosted, NOT if the client is the host! And it certainly won't be different for different clients! src.client.address is the right var to use here. |