03.02.2011, 13:55
Alright. Here's what I did:
and the print("after code - this shows"); were not executed.
What is wrong? Any ideas?
Quote:
print("case 2 works - this shows"); if(response){ print("if response works - this shows"); new filestring[128]; format(filestring, sizeof(filestring), "Accounts/%s", GetPlayerName(playerid)); dini_Create(filestring); new namestring[256]; new passstring[256]; format(namestring, sizeof(namestring), "%s", GetPlayerName(playerid)); format(passstring, sizeof(passstring), "%s", inputtext); dini_Set(filestring, "Name", namestring); dini_Set(filestring, "Password", passstring); dini_FloatSet(filestring, "LastX", 1643.086181); dini_FloatSet(filestring, "LastY", -2237.591796); dini_FloatSet(filestring, "LastZ", 13.494955); dini_IntSet(filestring, "Skin", 0); dini_IntSet(filestring, "Level", 0); dini_IntSet(filestring, "AdminLevel", 0); SendClientMessage(playerid, GREEN, "You have been registered successfully! Please now go through some steps."); ShowPlayerDialog(playerid, 3, DIALOG_STYLE_MSGBOX, "Gender", "Please choose the gender of your character:", "Male", "Female"); print("after code - this shows"); |
What is wrong? Any ideas?