17.06.2014, 14:34
i made /cmds but it's too long and is full height and if i added 1 more command it will not show the other commands, so how to make page 2? with the same command (/cmds)
new mes1[] = "\t\t\t\t\t\t CMDS Help\n\n {F88017}Full list of Cmds."; new mes2[] = "\n Add cmds"; new mes3[] = "\n Add cmds"; new mes4[] = "\n Add cmds"; new mes5[] = "\n Add cmds"; format(string, sizeof(string),"%s %s %s %s %s",mes1,mes2,mes3,mes4,mes5); ShowPlayerDialog(playerid, DIALOG_STYLE_MSGBOX,"Server Cmds.",string,"","Thanks"); |
CMD:commands (playerid) return cmd_cmds(playerid); CMD:cmds (playerid) { new bigstring[3000]; strcat(bigstring, "{FCFFC3}Commands:\n"); strcat(bigstring, "{6EAAFF}/teleports (/teles) -{FF0000} Command to show all teleports\n"); ShowPlayerDialog(playerid, DIALOG_CMDS, DIALOG_STYLE_MSGBOX, ""RED"[EsF]Server Commands", bigstring, "OK", ""); return 1;
CMD:cmds (playerid) { new bigstring[3000]; strcat(bigstring, "{FCFFC3}Commands:\n"); strcat(bigstring, "{6EAAFF}/teleports (/teles) -{FF0000} Command to show all teleports\n"); strcat(bigstring, "{6EAAFF}/changename -{FF0000} To Change your name (MUST CHANGE IT IN SA-MP CLIENT)\n"); strcat(bigstring, "{6EAAFF}/givemoney (/givecash) -{FF0000} To send money/cash to another player\n"); ShowPlayerDialog(playerid, DIALOG_CMDS, DIALOG_STYLE_MSGBOX, ""RED"[EsF]Server Commands", bigstring, "OK", ""); return 1;