Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if defined DIALOG_STYLE_TABLIST_HEADERS
- new dialog[1048];
- format(dialog, 1048, "Index\tModelid\tTxd name\tTexture name\tMaterial color\n");
- new Indexe = GetIndexFromObjectID(SelectedObject);
- for(new i = 0; i != 16; i++)
- {
- 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);
- else format(dialog, sizeof(dialog), "%s%d\t0\tempty\tempty\t0\n", dialog, i);
- }
- print(dialog);
- //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")) );
- ShowPlayerDialog(playerid, 815, 5, "Map editor", dialog, ">>", "<<");
- #endif
Advertisement
Add Comment
Please, Sign In to add comment