ID:264979
 
Code:


Problem description:





For some odd reason I can't seem to past the login coding part...making the gender selection I mean because it always says error 22 missing expression. I don't know what it means by that help me pls ! D:









or sorry is says expected expression! error 23 donno what that means :S
You're probably missing an equal sign. Observe

if(src.Walking = 1)


This will yield "Missing Expression" because you're supposed to use == instead of just =.
In response to Lugia319
and for expected expression then?
You should probably post the appropriate code snippet between the <dm> tags.
In response to LordAndrew
login()
usr.icon_state = "what gender?"
"male"
"female"
usr.Move(locate(1,1,1))
it says here is a missing expression for male and female but I donno what expression o.o Im really newby at coding just started up ^^
In response to Random_111
They're kinda awkwardly placed. Sounds like you want to use input.

var/X = input(reference,"Msg","Title") in list(A,B,C)


Something like that.

EDIT: Also you can just use the built-in Login() proc

mob
Login()


You really do want to look at the guide though.
In response to Random_111
You can find their gender using the client gender variable.
In response to Neimo
True, but not if the OP wants the players to be able to customize their character.