mob
proc
Create()
var/char_name=input(src,"What do you wish for your name to be","Create") as text
if (!text)
alert("You most enter a name")
return
var/char_race=input("What Starting icon do you want","create") in list ("WhiteHair","Some Girl")
if ("White Hair")
src.icon = '1.dmi'
src.icon_state = "2"
src.loc=locate(2,2,2)
src.SaveChar()
if ("Some Girl")
src.icon = '1.dmi'
src.icon_state = "2"
src.loc=locate(2,2,2)
src.SaveChar()
Problem description:i get the warnings
loading IconTopia.dme
login.dm:30:char_name :warning: variable defined but not used
login.dm:36:char_race :warning: variable defined but not used
loading map.dmp
saving IconTopia.dmb
IconTopia.dmb - 0 errors, 2 warnings (double-click on an error to jump to it)
why am i geting these and why does it not call the mobs name var when i put
Stat()
statpanel("You")
stat("Name",[src.name]")
it sets the mobs name as his/hers key plese help