mob
Login()
usr.icon_state = input("Team/Driver") in list ("Sauber: Felipe Massa","Sauber: Giancarlo Fisichella","Toyota: Olivier Panis","Toyota: Cristiano Da Matta","Jordan: Nick Heidfeld","Jordan: Giorgio Pantano","BAR: Jenson Button","BAR: Takuma Sato","Ferrari: Micheal Schumacher","Ferrari: Rubbuns Barricello","Williams: Juan Pablo Montoya","Williams: Ralf Schumacher","Jaguar: Mark Webber","Jaguar: Cristian Klien","Mclaren: Kimi Raikkonen","Mclaren: David Coulthard","Minardi: Gianmaria Bruni","Minardi: Zsolt Baumgartner","Renault: Fernando Alonso","Renault: Jarno Trulli")
usr.Move(locate(27,3,1))
thease are the names that the player has to cheose from i want it so when someone picks the name there name will change to that
E.G Fred = Sauber: Felipe Massa so his name changes to Sauber: Felipe Massa in game instead of when he talks saying this
Fred says:hi
i want it to says
Sauber: Felipe Massa says:hi
so u understand me
ID:147208
Aug 8 2004, 7:16 pm
|
|
DAU, this is Code Problems. If you can't contribute something useful, don't post.*
*<font color=#C8C8C8 size=1>Translation: Shut the hell up.</font> | |
it is useful because most people just dont help when they see spelling errors of this level.
| |
my mate helped me sort it. It should look like this
mob/Login() var/choice = input("Team/Driver") in list("Sauber: Felipe Massa","Sauber: Giancarlo Fisichella","Toyota: Olivier Panis","Toyota: Cristiano Da Matta","Jordan: Nick Heidfeld","Jordan: Giorgio Pantano","BAR: Jenson Button","BAR: Takuma Sato","Ferrari: Micheal Schumacher","Ferrari: Rubbuns Barricello","Williams: Juan Pablo Montoya","Williams: Ralf Schumacher","Jaguar: Mark Webber","Jaguar: Cristian Klien","Mclaren: Kimi Raikkonen","Mclaren: David Coulthard","Minardi: Gianmaria Bruni","Minardi: Zsolt Baumgartner","Renault: Fernando Alonso","Renault: Jarno Trulli") src.loc=locate(27,3,1) src.name = choice src.icon_state = choice thanks for all your help | |
here's another tip:
when showing code do it in dm tags like so:
to do that just put your code between these tags: (dm) (/dm) but change () to <> | ||
For future reference, < and > (less than and greater than) let you show < and > without it becoming an HTML tag.
| |
Ok thanks a lot but one question:
how did you show the word "& lt" + "& gt" without it turning into <>? | |
<code>mob/Login() var/choice = input("Team/Driver") in list("Bunch of names") src.name = choice src.icon_state = choice</code>