adri1

Untitled

Mar 25th, 2015
453
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. #if defined DIALOG_STYLE_TABLIST_HEADERS
  2. new dialog[1048];
  3. format(dialog, 1048, "Index\tModelid\tTxd name\tTexture name\tMaterial color\n");
  4. new Indexe = GetIndexFromObjectID(SelectedObject);
  5. for(new i = 0; i != 16; i++)
  6. {
  7. if(MAPMOVER_TEXTURES[Indexe][i][IndexTextured] == 1) format(dialog, sizeof(dialog), "%s%d\t%d\t%s\t%s\t%d\n", dialog, i, MAPMOVER_TEXTURES[Indexe][i][M_Modelid], MAPMOVER_TEXTURES[Indexe][i][M_Txd], MAPMOVER_TEXTURES[Indexe][i][M_Texture], 0);
  8. else format(dialog, sizeof(dialog), "%s%d\t0\tempty\tempty\t0\n", dialog, i);
  9. }
  10. print(dialog);
  11. //format(str, 128, "\n%d\t%d\t%s\t%s", ( MAPMOVER_TEXTURES[Indexe][i][IndexTextured] == 1 ? (i, MAPMOVER_TEXTURES[Indexe][i][M_Modelid], MAPMOVER_TEXTURES[Indexe][i][M_Txd], MAPMOVER_TEXTURES[Indexe][i][M_Texture]) : (i, 0, "empty", "empty")) );
  12. ShowPlayerDialog(playerid, 815, 5, "Map editor", dialog, ">>", "<<");
  13. #endif
Advertisement
Add Comment
Please, Sign In to add comment