03.03.2016, 20:04
Quote:
I don't fully understand you,
I want to add rules IG so whenever I have added a new rule with a cmd ig, I want the Rules dialog updated with the new line init. |
((this code isnt complete, just to give you an idea of what to do))
Код:
format(msg, sizeof(msg), ""); for(new x=0; x<MAX_RULES; x++) { format(string, sizeof(string), "%s%s", msg, rulevariable[ruleid][RuleName]; } SendPlayerDialog(playerid, DIALOG_X, DIALOG_STYLE_X, "Title", msg, "Button1", "Button2"); return 1; }