im trying to use this code so ppl can choose their mainchar icon but its not working
Start_New_Game
Click()
if ( !istype(usr,/mob/starter) || usr:menu )
return
switch(input("If u have a old game this OPTION will ERASE ur old FILE....Choose icon color?", "Icon Choice", text) in list ("Black","Tamp","White Gurl"))
if("Black")
usr.icon = 'black.dmi'
if("Tamp")
usr.icon = 'tan.dmi'
else if("White Gurl")
usr.icon = 'white.dmi'
fdel("saves/[usr.key]")
if ( !istype(usr,/mob/starter) )
return
var obj/spawnPoint = GetRandomSpawnPoint()
var /mob/player/Player = new /mob/player/(spawnPoint.loc)
Player.client = usr.client
i dint get any error when compile
ID:158206
![]() Oct 10 2009, 2:35 am
|
|
As he only posted your original code embedded in <dm></dm> tags to make reading it less troublesome (something you should always do when posting code snippets!), it naturally won't magically work.
Please try to comprehend instead of simply copy and pasting. As for the problem at hand, what do you intend to do exactly and what precisely does not work as intended. If you want others to help you, you'll have to spend the time and effort to provide a meaningful base that volunteers can work with. |
give us something to work with