25.06.2013, 16:01
Still getting these errors:
error 001: expected token: "]", but found "-identifier-"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Here is the full response code again:
error 001: expected token: "]", but found "-identifier-"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Here is the full response code again:
pawn Код:
else 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(isnull(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], sizeof(PlayerInfo[playerid][MAX_PLAYER_NAME]), "%s", inputtext);
format(szString, sizeof(szString), "You have set your admin name to %s.", PlayerInfo[playerid][pAdminName]);
SendClientMessage(playerid, -1, szString);
}
}