NewChar1()
if(!usr.Active)
usr.Active = 1
usr.CreatePlayer1()
else
alert("Error")
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CreatePlayer1()
if(fexists("players/[src.ckey]/[src.ckey](2).sav"))
src.DeleteChar1()
src.SlotImages()
else
src.level=1
src.SaveFile1=1
src.SaveFile3=0
src.SaveFile2=0
src.ParseName()
src.loc = locate(7,126,2)
winshow(src,"ClanSelect",1)
Interface(src.client)
src.Finished=0
src.AutoSave()
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DeleteChar1()
switch(alert(src, "Delete Character From Slot 1? *YOUR CHARACTER WILL BE GONE!*", "Character Deletion", "Yes","No"))
if("Yes")
src<<"<font color=red>Accessing Database...</font>"
fdel("players/[src.ckey]/[src.ckey](1).sav")
src.SaveFile1=0
src<<"<font color=red>Save Deleted Successfully.</font>"
SecondScreen(src.client)
src.SlotImages()
return
else
src<<"Okay"
SecondScreen(src.client)
src.SlotImages()
return
src.Active = 0
Problem description:
Hellloo, Need help once more and as always I'm more than okay with being directed to the right place and doing the research myself.. I simply need to know where that place is x.x. So my problem though,
When you log in, you hit the create button and creation works awesome. But when I want to remake a character, the idea is that it goes through the create player process and if it detects a sav file, it's suppose to run the Deletechar() proc, however nothing happens at all D:. Thanks again for any help you are able to give =D!