ID:266338
Jan 6 2002, 11:40 am
|
|
I need a Character Menu when you login it like says What do you want to be?Theres a list of Characters like Person,hief and stuff like that i need an example of it
|
In response to Gojira
|
|
You won't get a menu with that..
|
In response to Nadrew
|
|
mob
Login() // this is what happens when somone logs into your game. var/race = input("What do you want to be?") in list ("Dan","Tom","me") switch(race) if("Dan") icon='clever.dmi' if("Tom") . icon='intellegent.dmi' if("me") icon='DBZ.dmi' ..() By the way he just wanted a login code and the other one gave him errors so i gave him this one. |
In response to Gojira
|
|
..()// Add this so theres no black screen That's not why you add it... |
SSJ4_Gohan_Majin wrote:
I need a Character Menu when you login it like says What do you want to be?Theres a list of Characters like Person,hief and stuff like that i need an example of it Check out this demo: byond://Deadron.CharacterSaving |
mob
Login() // this is what happens when somone logs into your game.
world<<"\blue [usr] has logged in!"
var/race = input("Who do you want to be?") in list ("Goku",) // var/race means that you are making a new variable called "race". input means that you are asking your user for somthing. in list gives them the choice of what to be.
switch(race) // this makes it so that, depending on what they chose for "race", somthing happens.
if("Goku")// If it's a Goku, you set their icon to Goku. Of course, you would need a Goku icon to do this.
icon='Goku.dmi'
..()// Add this so theres no black screen