01.07.2014, 01:29
strcat+format+ShowPlayerDialog.
Jб vou criar um exemplo...
Basta colocar um format, a cada linha que for concatenar... 
Nгo vou fazer isso, pra vocк tentar e aprender melhor...
Jб vou criar um exemplo...
PHP код:
CMD:pcmds(playerid, params[])
{
new str[450];
strcat(str, "/report - seen a player not obeying rules? report them to online admins!\n");
strcat(str, "/psave - save your position and go back with /b\n");
strcat(str, "/getstats - see the profile stats of another player\n");
strcat(str, "/givecash - feeling charitable? give some money to another player!\n");
strcat(str, "/colour - Change your player colour\n");
strcat(str, "/skin - Change your skin\n");
strcat(str, "/para - get a parachute\n");
strcat(str, "/camera - get a camera");
ShowPlayerDialog(playerid, d_PCmds, DIALOG_STYLE_LIST, "Player Commands List", str, "Close", "");
return 1;
}

Nгo vou fazer isso, pra vocк tentar e aprender melhor...