30.12.2015, 08:39
Quote:
Try this one in your current script i think this code will work
Код:
CMD:test(playerid, params[]) { new str[1000]; format(str, sizeof(str), "Da da da"); ShowPlayerDialog(playerid, DIALOG_TEST, DIALOG_STYLE_MSGBOX, "Test Dialog", str, "Ok", ""); return 1; } |
Quote:
Nope, both still give out "Unknown Command", and the dialog doesn't show up.
Код:
CMD:test(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_TEST, DIALOG_STYLE_MSGBOX, "Test Dialog", "Da da da", "OK", ""); return true; } CMD:test2(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_TEST, DIALOG_STYLE_MSGBOX, "Test Dialog", "Da da da", "OK", ""); return CMD_SUCCESS; } |