When i use this...
world
status = "Join DW: The Hero's Quest. Version 1. Currently [global.PlayerCount] people online."
It brings me this...
Main.dm:22:error::expected a constant expression
How can i fix that?
ID:267258
Jan 29 2003, 3:24 pm
|
|
Jan 29 2003, 3:24 pm
|
|
Oops i meant this in code problems
|
In response to Unknown Person
|
|
Putting []'s in any variable makes it non-constant. You can't set something to anything that isn't constant at compile time. You'll have to update the status with a proc during runtime.
|
Unknown Person wrote:
When i use this... world That will work, though you probably actually want to change this as the player count changes: proc Then call show_world_status() each time someone enters or leaves your game. |
In response to Garthor
|
|
What In THe name of Hell Im having troubles with this code I am trying ot make the status apear with the player count and I used that code and it Gives me a weired error
error::status undifined var?!?!?! |
In response to Kamikazi corp
|
|
Please dont bring back topics from the dead.
|
In response to Goz
|
|
i believe he used forum search to not make multiple topics...
|
In response to Kamikazi corp
|
|
It has to be world/status, not just status.
|