Quote:
Originally Posted by Dragonsaurus
I just tested it and it turned to be like this: (No errors)
pawn Код:
if(dialogid == DIALOG_ANAME) { if(!response) ShowPlayerDialog(playerid, 2818, DIALOG_STYLE_INPUT, "Admin Name - Create", "Please enter your desired admin name in the box below.", "Submit", ""); else { new szString[100]; if(!strlen(inputtext)) return ShowPlayerDialog(playerid, 2818, DIALOG_STYLE_INPUT, "Admin Name - Create", "Please enter your desired admin name in the box below.", "Submit", ""); format(PlayerInfo[playerid][pAdminName], 24, "%s", inputtext); format(szString, sizeof(szString), "You have set your admin name to %s.", PlayerInfo[playerid][pAdminName]); SendClientMessage(playerid, -1, szString); } }
|
Sorry for late reply was busy, thanks very much, worked a charm.