ploxarik

command for Oscar Garcia

Feb 26th, 2021 (edited)
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.56 KB | None | 0 0
  1. CMD:facciones(playerid, params[])
  2. {
  3.     new number = 1;
  4.     new string[450] = "{FFFFFF}Núm.{FFFFFF}Facción\t\t{FFFFFF}Líder\t\t\t{FFFFFF}Sublíder\n\n";
  5.  
  6.     for(new i =1; i < sizeof(InfoFacc); i++)
  7.     {
  8.         number ++;
  9.         format(string, sizeof(string), "%s\n«%d»\t{9650FF}%s\t{BFBFBF}%s\t{BFBFBF}%s\n",string,number-1, InfoFacc[i][gFacc],           
  10.         InfoFacc[i][gLeader], InfoFacc[i][gLeader2]);
  11.     }
  12.     SafeDialogEx(playerid, STATS, DIALOG_STYLE_TABLIST_HEADERS, "{0091DD}Lista de {FFFFFF}Facciones", string, "Cerrar", "");
  13.     return 1;
  14. }
Add Comment
Please, Sign In to add comment