i triyed
world.status = "Hosted by [world.Host]"<?DM>, but it doesnt work... help!
ID:269993
![]() Dec 8 2005, 4:30 am
|
|
Help!I need to know how i put the hoster's name on the world status...
i triyed world.status = "Hosted by [world.Host]"<?DM>, but it doesnt work... help! |
![]() Dec 8 2005, 5:59 am (Edited on Dec 8 2005, 7:25 am)
|
|
Didn't you already ask before?
|
Mysame wrote:
Didn't you already ask before? > mob/var |
Mysame wrote:
Then it will do nothing special. Just add 1 (++) to the var to make it count the players. i dont know where i will put your code... i need the else because i have various start points.See this : mob |
Think to your self for a second. In programming, do you really think that's the only way to keep on making a certain thing happen? Copying and pasting it a billion times? Wouldn't they have made something more efficient?
*Gives you time to think* Answer: Yes. They're called loops. Open up the DM Guide and read all of it, it'll cover how to loop. Secondly, don't use usr in mob/Login(). Out of interest, do you even know what usr is? |
my dear god I pray that you didn't actually type all of that.
Look up looping. Here's some commands to look up and learn that will help you : Spawn() For() While() |
That's a bad system. I believe if you check if the person has no client.address or their client.address matches world.address, then they're the host.
|
Artemio wrote:
That's a bad system. I believe if you check if the person has no client.address or their client.address matches world.address, then they're the host. i dont understand this :S :S :S |
Artemio wrote:
> mob/Login() you guys dont answered me...and the elses? |
Detnom wrote:
Wouldn't it be better to reference the host, instead of just setting the var to 1? =/ Yes. It's a 1000 times better. _Ryan |
Pharaoh Atem wrote:
Mysame wrote: LMFAO @ your long... very long never ending code. |