OnDialogResponse codes not working?
#7

Alright. Here's what I did:

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");

and the print("after code - this shows"); were not executed.

What is wrong? Any ideas?
Reply


Messages In This Thread
OnDialogResponse codes not working? - by Kyle_Olsen - 03.02.2011, 12:37
AW: OnDialogResponse codes not working? - by Nero_3D - 03.02.2011, 12:43
Re: OnDialogResponse codes not working? - by Kyle_Olsen - 03.02.2011, 12:52
Re: OnDialogResponse codes not working? - by [03]Garsino - 03.02.2011, 13:21
Re: OnDialogResponse codes not working? - by Kyle_Olsen - 03.02.2011, 13:23
Re: OnDialogResponse codes not working? - by [03]Garsino - 03.02.2011, 13:40
Re: OnDialogResponse codes not working? - by Kyle_Olsen - 03.02.2011, 13:55
Re: OnDialogResponse codes not working? - by Kyle_Olsen - 03.02.2011, 13:59
Re: OnDialogResponse codes not working? - by [03]Garsino - 03.02.2011, 14:07
Re: OnDialogResponse codes not working? - by Kyle_Olsen - 03.02.2011, 14:09

Forum Jump:


Users browsing this thread: 1 Guest(s)