mob var Ne = 0 Bl = 0 Re = 0 Necount = 0 Blcount = 0 Recount = 0 mob var N = list() R = list() B = list() Login() BACK var/team = input("What team will you join?")in list ("Blue","Red") if(team == "Blue") var/mob/M for(M in world) if(M.Bl == 1) M << "[usr] Just joined the blue team!" usr += B usr.Bl = 1 if(team == "Red") var/mob/M for(M in world) if(M.Re == 1) M << "[usr] Just joined the red team!" usr += R usr.Re = 1
ID:147321
Jul 2 2004, 10:37 am
|
|
Im trying to make it so when you log in you need to choose what team you will be playing for, but it doesnt work, can anyone help me?
|
Jul 2 2004, 11:07 am
|
|
Do this:
|
In response to DeathAwaitsU
|
|
i tried it, and got this :
<code>runtime error: type mismatch proc name: Login (/mob/Login) usr: Kablez (/mob) src: Kablez (/mob) call stack: Kablez (/mob): Login()</code> |