Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dialog:d_local(playerid, response, listitem, inputtext[])
- {
- if(response)
- {
- static storylife_str[59+1] = !"Вы действительно хотите выбрать '";
- strcat(storylife_str, StoryLife_Head[listitem]);
- strcat(storylife_str, "'?");
- Player::[pChoice_History] = 1;
- Player::[pHistory_Status] = listitem+1;
- printf("%d", Player::[pHistory_Status]);
- Dialog_Show(playerid, d_confirm_local, DIALOG_STYLE_MSGBOX, !"Выбор истории | Местный", storylife_str, "Далее", "Назад");
- }
- else
- {
- Dialog_Show(playerid, d_choice_history, DIALOG_STYLE_LIST, "Выбор истории", "Местный\nПриезжий", "Далее", "Назад");
- Player::[pChoice_History] = 0;
- Player::[pHistory_Status] = 0;
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement