ID:143060
 
Code:
mob/proc/Save()
if(src.icon==null)return
var/savefile/F = new("players//[copytext(src.ckey, 1, 2)]/[src.ckey].save")
for(var/obj/Card/O in src.Deck)O.owner=null
F["Deck"]<<src.Deck
for(var/obj/Card/O in src.Trunk)O.owner=null
F["Trunk"]<<src.Trunk
F["Cash"]<<src.Cash
F["Icon"]<<src.icon
F["Icon State"]<<src.icon_state
return

mob/proc/Check_Save()
var/player="[copytext(src.ckey,1,2)]"
again
if(fexists("players/[player]/[src.ckey].save"))
switch(alert(src,"Save file found... Would you like to load?","Load Settings","Yes","No"))
if("Yes")
src.Load()
src.loc=locate(67,47,3)
src.verbs+=typesof(/mob/Duel/proc/)
src.verbs+=typesof(/mob/player_verbs/proc/)
src.addname()
src.createduald()
src.ingame=1
src.client.command_text="Say: "
src.clicked=null
Check_Login(src)
info(src,world,"has joined the world.")
return
if("No")
switch(alert(usr,"Are you sure? This will overwrite your previous save.","Load Settings","Yes","No"))
if("No")
goto again
src.choose_character()
src.Get_Deck()
src.loc=locate(67,47,3)
src.verbs+=typesof(/mob/Duel/proc/)
src.verbs+=typesof(/mob/player_verbs/proc/)
src.createduald()
src.addname()
src.ingame=1
src.client.command_text="Say: "
src.clicked=null
Check_Login(src)
info(src,world,"has joined the world.")
return

mob/proc/Load()
var/player="[copytext(src.ckey,1,2)]"
if(fexists("players/[player]/[src.ckey].save"))
var/savefile/F = new("players//[player]/[src.ckey].save")
for(var/obj/Card/O in src.Trunk)O.owner=null
F["Trunk"]>>src.Trunk
for(var/obj/Card/O in src.Deck)O.owner=null
F["Deck"]>>src.Deck
F["Icon"]>>src.icon
F["Icon State"]>>src.icon_state
F["Cash"]>>src.Cash
F["Icon"]>>src.icon
F["Icon State"]>>src.icon_state
src.DeckRefresh()
return


Problem description:
Save & Load.dm:25:error:src.createduald:undefined proc
Save & Load.dm:41:error:src.createduald:undefined proc

DMUR.dmb - 2 errors, 0 warnings (double-click on an error to jump to it)

Wtf's up plz help me ASAP

please so us witch lines are the ones with errors
You never defined mob/proc/createduald(). Therefore: the error you are getting.