Advertisement
Guest User

OxiDialogs Version 2.0

a guest
Sep 27th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 17.13 KB | None | 0 0
  1. #define FILTERSCRIPT
  2.  
  3. #include <a_samp>
  4. #include <zcmd>
  5.  
  6.  
  7. new g_DialogName[100],
  8.         g_DialogText[256],
  9.             g_DialogButton1[50],
  10.                 g_DialogButton2[50],
  11.                     g_DialogID,
  12.                         g_DialogList1[50],
  13.                             g_DialogList2[50],
  14.                                 g_DialogList3[50],
  15.                                     g_DialogList4[50],
  16.                                         g_DialogList5[50],
  17.                                             bool:g_ChoseTwo,
  18.                                                 bool:g_ChoseThree,
  19.                                                     bool:g_ChoseFour,
  20.                                                         bool:g_ChoseFive,
  21.                                                             bool:g_ChoseText,
  22.                                                                 bool:g_ChoseMsgBox;
  23.  
  24. enum {
  25.  
  26.     DIALOG_SET_NAME,
  27.     DIALOG_SET_LIST_INPUT,
  28.     DIALOG_SET_LIST_ITEMS_1,
  29.     DIALOG_SET_LIST_ITEMS_2,
  30.     DIALOG_SET_LIST_ITEMS_3,
  31.     DIALOG_SET_LIST_ITEMS_4,
  32.     DIALOG_SET_LIST_ITEMS_5,
  33.     DIALOG_SET_TEXT,
  34.     DIALOG_SET_ID,
  35.     DIALOG_SET_BUTTON_1,
  36.     DIALOG_SET_BUTTON_2,
  37.     DIALOG_ACCEPT_CREATION,
  38.     DIALOG_ACCEPT_CREATION_2
  39. }
  40.  
  41.  
  42. public OnFilterScriptInit()
  43. {
  44.     print("  ****************************************");
  45.     print(" ");
  46.     print("  OxiDialogs v2.0 loaded Successfully");
  47.     print(" ");
  48.     print("  Credits to the include creators:");
  49.     print(" ");
  50.     print("  a_samp - SA-MP Team");
  51.     print("  zcmd - Zeex");
  52.     print(" ");
  53.     print("  OxiDialogs v2.0 loaded Successfully");
  54.     print(" ");
  55.     print("  ****************************************");
  56.     return 1;
  57. }
  58.  
  59. public OnFilterScriptExit()
  60. {
  61.     print("  ****************************************");
  62.     print(" ");
  63.     print("  OxiDialogs v2.0 unloaded Successfully");
  64.     print(" ");
  65.     print("  Credits to the include creators:");
  66.     print(" ");
  67.     print("  a_samp - SA-MP Team");
  68.     print("  zcmd - Zeex");
  69.     print(" ");
  70.     print("  OxiDialogs v2.0 unloaded Successfully");
  71.     print(" ");
  72.     print("  ****************************************");
  73.  
  74.     return 1;
  75. }
  76.  
  77. CMD:createdialogmsg(playerid, params[])
  78. {
  79.     if(!IsPlayerAdmin(playerid)) return 0;
  80.     else
  81.     {
  82.         ShowPlayerDialog(playerid, DIALOG_SET_NAME, DIALOG_STYLE_INPUT, "Enter A Name", "Please enter a desired name for your dialog.\nBy this unique name you can find it stored inside the scriptfiles folder.\nUnder the assigned name you'll give it.\n\nOxiDialogs v1.0\n", "INSERT", "EXIT");
  83.         g_ChoseMsgBox = true;
  84.     }
  85.     return 1;
  86. }
  87.  
  88. CMD:createdialog(playerid, params[])
  89. {
  90.     if(!IsPlayerAdmin(playerid)) return 0;
  91.     else
  92.     {
  93.         ShowPlayerDialog(playerid, DIALOG_SET_NAME, DIALOG_STYLE_INPUT, "Enter A Name", "Please enter a desired name for your dialog.\nBy this unique name you can find it stored inside the scriptfiles folder.\nUnder the assigned name you'll give it.\n\nOxiDialogs v1.0\n", "INSERT", "EXIT");
  94.     }
  95.     return 1;
  96. }
  97.  
  98. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  99. {
  100.     new string[556];
  101.     if(dialogid == DIALOG_SET_NAME)
  102.     {
  103.         if(response)
  104.         {
  105.             if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_SET_NAME, DIALOG_STYLE_INPUT, "Enter A Name", "Please enter a desired name for your dialog.\nBy this unique name you can find it stored inside the scriptfiles folder.\nUnder the assigned name you'll give it.\n\nOxiDialogs v1.0\n", "INSERT", "EXIT");
  106.             else
  107.             {
  108.                 format(g_DialogName, sizeof(g_DialogName), inputtext);
  109.                 if(g_ChoseMsgBox == true) ShowPlayerDialog(playerid, DIALOG_SET_TEXT, DIALOG_STYLE_INPUT, "Please enter desired text", "Please enter desired text that the dialog will display.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  110.                 else
  111.                     ShowPlayerDialog(playerid, DIALOG_SET_LIST_INPUT, DIALOG_STYLE_MSGBOX, "Please choose", "Would you like to create a list-item based dialog?\nOr an inputtext based dialog?\n\nTo create a msgbox styled dialog please write /createdialogmsg\n\n", "List-Item", "InputText");
  112.             }
  113.         }
  114.         return 1;
  115.     }
  116.     if(dialogid == DIALOG_SET_LIST_INPUT)
  117.     {
  118.         if(!response)
  119.         {
  120.             ShowPlayerDialog(playerid, DIALOG_SET_TEXT, DIALOG_STYLE_INPUT, "Please enter desired text", "Please enter desired text that the dialog will display.\n\nOxiDialogs v1.0\n", "Create", "Exit");
  121.             g_ChoseText = true;
  122.         }
  123.         if(response) return ShowPlayerDialog(playerid, DIALOG_SET_LIST_ITEMS_1, DIALOG_STYLE_INPUT, "Please enter a list item number 1", "Please enter your first item you'd like to have on the list.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  124.         return 1;
  125.     }
  126.     if(dialogid == DIALOG_SET_LIST_ITEMS_1)
  127.     {
  128.         if(response)
  129.         {
  130.             if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_SET_LIST_ITEMS_1, DIALOG_STYLE_INPUT, "Please enter a list item number 1", "Please enter your first item you'd like to have on the list.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  131.             else
  132.             {
  133.                 ShowPlayerDialog(playerid, DIALOG_SET_LIST_ITEMS_2, DIALOG_STYLE_INPUT, "Please enter a list item number 2", "Please enter your second item you'd like to have on the list.\nYou must have at-least two items at the list-item dialog.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  134.                 format(g_DialogList1, 50, inputtext);
  135.             }
  136.         }
  137.         return 1;
  138.     }
  139.     if(dialogid == DIALOG_SET_LIST_ITEMS_2)
  140.     {
  141.         if(response)
  142.         {
  143.             if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_SET_LIST_ITEMS_2, DIALOG_STYLE_INPUT, "Please enter a list item number 2", "Please enter your second item you'd like to have on the list.\nYou must have at-least two items at the list-item dialog.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  144.             else
  145.             {
  146.                 format(g_DialogList2, 50, inputtext);
  147.                 ShowPlayerDialog(playerid, DIALOG_SET_LIST_ITEMS_3, DIALOG_STYLE_INPUT, "Please enter a list item number 3", "Please enter your third item you'd like to have on the list.\nThis time you can choose to have only two or continue creating more.\n\nOxiDialogs v1.0\n", "Continue", "Finish");
  148.             }
  149.         }
  150.     }
  151.     if(dialogid == DIALOG_SET_LIST_ITEMS_3)
  152.     {
  153.         if(!response)
  154.         {
  155.             ShowPlayerDialog(playerid, DIALOG_SET_ID, DIALOG_STYLE_INPUT, "Set the dialog's ID", "Please write down the ID for the dialog.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  156.             g_ChoseTwo = true;
  157.         }
  158.         else
  159.         {
  160.             ShowPlayerDialog(playerid, DIALOG_SET_LIST_ITEMS_4, DIALOG_STYLE_INPUT, "Please enter the list item number 4", "Please enter your fourth item you'd like to have on the list.\nThis time you can choose wether to have only 4 or continue having one more item on the list\n\nOxiDialogs v1.0\n", "Continue", "Finish");
  161.             format(g_DialogList3, 50, inputtext);
  162.         }
  163.     }
  164.     if(dialogid == DIALOG_SET_LIST_ITEMS_4)
  165.     {
  166.         if(!response)
  167.         {
  168.             ShowPlayerDialog(playerid, DIALOG_SET_ID, DIALOG_STYLE_INPUT, "Set the dialog's ID", "Please write down the ID for the dialog.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  169.             g_ChoseThree = true;
  170.         }
  171.         else
  172.         {
  173.             ShowPlayerDialog(playerid, DIALOG_SET_LIST_ITEMS_5, DIALOG_STYLE_INPUT, "Please enter the list item number 5", "Please enter your fourth item you'd like to have on the list.\nThis time you can choose wether to have only 5 or continue having one more item on the list\n\nOxiDialogs v1.0\n", "Continue", "Finish");
  174.             format(g_DialogList4, 50, inputtext);
  175.         }
  176.     }
  177.     if(dialogid == DIALOG_SET_LIST_ITEMS_5)
  178.     {
  179.         if(!response)
  180.         {
  181.             ShowPlayerDialog(playerid, DIALOG_SET_ID, DIALOG_STYLE_INPUT, "Set the dialog's ID", "Please write down the ID for the dialog.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  182.             g_ChoseFour = true;
  183.         }
  184.         else
  185.         {
  186.             format(g_DialogList5, 50, inputtext);
  187.             ShowPlayerDialog(playerid, DIALOG_SET_ID, DIALOG_STYLE_INPUT, "Set the dialog's ID", "Please write down the ID for the dialog.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  188.             g_ChoseFive = true;
  189.         }
  190.     }
  191.     if(dialogid == DIALOG_SET_TEXT)
  192.     {
  193.         if(response)
  194.         {
  195.             if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_SET_TEXT, DIALOG_STYLE_INPUT, "Please enter desired text", "Please enter desired text that the dialog will display.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  196.             else if(g_ChoseMsgBox == true)
  197.             {
  198.                 ShowPlayerDialog(playerid, DIALOG_SET_ID, DIALOG_STYLE_INPUT, "Set the dialog's ID", "Please write down the ID for the dialog.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  199.             }
  200.             else
  201.             {
  202.                 ShowPlayerDialog(playerid, DIALOG_SET_ID, DIALOG_STYLE_INPUT, "Set the dialog's ID", "Please write down the ID for the dialog.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  203.             }
  204.             format(g_DialogText, sizeof(g_DialogText), inputtext);
  205.         }
  206.         return 1;
  207.     }
  208.     if(dialogid == DIALOG_SET_ID)
  209.     {
  210.         if(response)
  211.         {
  212.             if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_SET_ID, DIALOG_STYLE_INPUT, "Set the dialog's ID", "Please write down the ID for the dialog.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  213.             else
  214.             {
  215.                 if(g_ChoseTwo == true || g_ChoseThree == true || g_ChoseFour == true || g_ChoseFive == true)
  216.                 {
  217.                     ShowPlayerDialog(playerid, DIALOG_SET_BUTTON_1, DIALOG_STYLE_INPUT, "Please enter the dialog's first button", "Please enter the dialog's first button.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  218.                 }
  219.                 else if(g_ChoseMsgBox == true)
  220.                 {
  221.                     ShowPlayerDialog(playerid, DIALOG_SET_BUTTON_1, DIALOG_STYLE_INPUT, "Please enter the dialog's first button", "Please enter the dialog's first button.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  222.                 }
  223.                 else if(g_ChoseText == true)
  224.                 {
  225.                     ShowPlayerDialog(playerid, DIALOG_SET_BUTTON_1, DIALOG_STYLE_INPUT, "Please enter the dialog's first button", "Please enter the dialog's first button.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  226.                 }
  227.                 g_DialogID = strval(inputtext);
  228.             }
  229.         }
  230.         return 1;
  231.     }
  232.     if(dialogid == DIALOG_SET_BUTTON_1)
  233.     {
  234.         if(response)
  235.         {
  236.             if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_SET_BUTTON_1, DIALOG_STYLE_INPUT, "Please enter the dialog's first button", "Please enter the dialog's first button.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  237.             else
  238.             {
  239.                 format(g_DialogButton1, sizeof(g_DialogButton2), inputtext);
  240.                 if(g_ChoseMsgBox == true)
  241.                 {
  242.                     ShowPlayerDialog(playerid, DIALOG_SET_BUTTON_2, DIALOG_STYLE_INPUT, "Please enter the dialog's second button", "Please enter the dialog's second button.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  243.                 }
  244.                 else
  245.                 {
  246.                     ShowPlayerDialog(playerid, DIALOG_SET_BUTTON_2, DIALOG_STYLE_INPUT, "Please enter the dialog's second button", "Please enter the dialog's second button.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  247.                 }
  248.             }
  249.         }
  250.         return 1;
  251.     }
  252.     if(dialogid == DIALOG_SET_BUTTON_2)
  253.     {
  254.         if(response)
  255.         {
  256.             if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_SET_BUTTON_2, DIALOG_STYLE_INPUT, "Please enter the dialog's second button", "Please enter the dialog's second button.\n\nOxiDialogs v1.0\n", "Continue", "Exit");
  257.             else
  258.             {
  259.                 format(g_DialogButton2, sizeof(g_DialogButton2), inputtext);
  260.                 if(g_ChoseTwo == true)
  261.                 {
  262.                     format(string, sizeof(string), "This is how your dialog looks like\nTitle: %s\nListItem 1: %s\nListItem 2: %s\n\nDialogID = %d\nButton 1 = %s\nButton 2 = %s\n\nNote that the ListItem thing won't be there", g_DialogName, g_DialogList1, g_DialogList2, g_DialogID, g_DialogButton1, g_DialogButton2);
  263.                     ShowPlayerDialog(playerid, DIALOG_ACCEPT_CREATION_2, DIALOG_STYLE_LIST, "This how your dialog looks like", string, "Create", "Exit");
  264.                 }
  265.                 else if(g_ChoseThree == true)
  266.                 {
  267.                     format(string, sizeof(string), "This is how your dialog looks like\nTitle: %s\nListItem 1: %s\nListItem 2: %s\nListItem 3: %s\nDialogID = %d\nButton 1 = %s\nButton 2 = %s\n\nNote that the ListItem thing won't be there", g_DialogName, g_DialogList1, g_DialogList2, g_DialogList3, g_DialogID, g_DialogButton1, g_DialogButton2);
  268.                     ShowPlayerDialog(playerid, DIALOG_ACCEPT_CREATION_2, DIALOG_STYLE_LIST, "This how your dialog looks like", string, "Create", "Exit");
  269.                 }
  270.                 else if(g_ChoseFour == true)
  271.                 {
  272.                     format(string, sizeof(string), "This is how your dialog looks like\nTitle: %s\nListItem 1: %s\nListItem 2: %s\nListItem 3: %s\nListItem 4: %s\nDialogID = %d\nButton 1 = %s\nButton 2 = %s\n\nNote that the ListItem thing won't be there", g_DialogName, g_DialogList1, g_DialogList2, g_DialogList3, g_DialogList4, g_DialogID, g_DialogButton1, g_DialogButton2);
  273.                     ShowPlayerDialog(playerid, DIALOG_ACCEPT_CREATION_2, DIALOG_STYLE_LIST, "This how your dialog looks like", string, "Create", "Exit");
  274.                 }
  275.                 else if(g_ChoseFive == true)
  276.                 {
  277.                     format(string, sizeof(string), "This is how your dialog looks like\nTitle: %s\nListItem 1: %s\nListItem 2: %s\nListItem 3: %s\nListItem 4: %s\nListItem 5: %s\nDialogID = %d\nButton 1 = %s\nButton 2 = %s\n\nNote that the ListItem thing won't be there", g_DialogName, g_DialogList1, g_DialogList2, g_DialogList3, g_DialogList4, g_DialogList5, g_DialogID, g_DialogButton1, g_DialogButton2);
  278.                     ShowPlayerDialog(playerid, DIALOG_ACCEPT_CREATION_2, DIALOG_STYLE_LIST, "This how your dialog looks like", string, "Create", "Exit");
  279.                 }
  280.                 else if(g_ChoseMsgBox == true)
  281.                 {
  282.                     format(string, sizeof(string), "Are you sure you want to create this dialog? Dialog Overview\n\nTitle: %s\nText: %s\n\nDialogID = %d\nButton 1 = %s\nButton 2 = %s", g_DialogName, g_DialogText, g_DialogID, g_DialogButton1, g_DialogButton1);
  283.                     ShowPlayerDialog(playerid, DIALOG_ACCEPT_CREATION, DIALOG_STYLE_MSGBOX, "Dialog Overview", string, "Create", "Exit");  
  284.                 }
  285.                 else if(g_ChoseText == true)
  286.                 {
  287.                     format(string, sizeof(string), "Are you sure you want to create this dialog? Dialog overview\n\n%s\n\n%s\n\n DialogID = %d, Button 1 = %s, Button 2 = %s", g_DialogName, g_DialogText, g_DialogID, g_DialogButton1, g_DialogButton2);
  288.                     ShowPlayerDialog(playerid, DIALOG_ACCEPT_CREATION, DIALOG_STYLE_MSGBOX, "Are you sure you want to create?", string, "Create", "Exit");
  289.                 }
  290.             }
  291.         }
  292.         return 1;
  293.     }
  294.     if(dialogid == DIALOG_ACCEPT_CREATION)
  295.     {
  296.         if(!response) return SendClientMessage(playerid, 0xFF0000FF, "You chose not to create any dialog.");
  297.         if(response)
  298.         {
  299.             new File:dgfile = fopen(g_DialogName, io_write);
  300.             if(dgfile)
  301.             {
  302.                 if(g_ChoseMsgBox == true)
  303.                 {
  304.                     format(string, sizeof(string), "ShowPlayerDialog(playerid, %d, DIALOG_STYLE_MSGBOX, %s, %s, %s, %s);", g_DialogID, g_DialogName, g_DialogText, g_DialogButton1, g_DialogButton2);
  305.                     fwrite(dgfile, string);
  306.                     fclose(dgfile);
  307.                        
  308.                     SendClientMessage(playerid, 0xFF0000FF, "Successfully created a txt file with the ShowPlayerDialog syntax with the provided information you have given.");
  309.                 }
  310.                 else
  311.                 {
  312.                     format(string, sizeof(string), "ShowPlayerDialog(playerid, %d, DIALOG_STYLE_INPUT, %s, %s, %s, %s);", g_DialogID, g_DialogName, g_DialogText, g_DialogButton1, g_DialogButton2);
  313.                     fwrite(dgfile, string);
  314.                     fclose(dgfile);
  315.  
  316.                     SendClientMessage(playerid, 0xFF0000FF, "Successfully created a txt file with the ShowPlayerDialog syntax with the provided information you have given.");
  317.                     SendClientMessage(playerid, 0xFF0000FF, "Dialog Message:");
  318.                     SendClientMessage(playerid, 0xFF0000FF, string);
  319.                 }
  320.             }
  321.         }
  322.         g_ChoseMsgBox = false;
  323.         g_ChoseText = false;
  324.         g_ChoseTwo = false;
  325.         g_ChoseThree = false;
  326.         g_ChoseFour = false;
  327.         g_ChoseFive = false;
  328.         return 1;
  329.     }
  330.     if(dialogid == DIALOG_ACCEPT_CREATION_2)
  331.     {
  332.         if(!response) return SendClientMessage(playerid, 0xFF0000FF, "You chose not to create any dialog.");
  333.         if(response)
  334.         {
  335.             new File:dgfile = fopen(g_DialogName, io_write);
  336.             if(dgfile)
  337.             {
  338.                 if(g_ChoseTwo == true)
  339.                 {
  340.                     format(string, sizeof(string), "ShowPlayerDialog(playerid, %d, DIALOG_STYLE_LIST, %s, %s/n%s, %s, %s);\n", g_DialogID, g_DialogName, g_DialogList1, g_DialogList2, g_DialogButton1, g_DialogButton2);
  341.                     fwrite(dgfile, string);
  342.                     fclose(dgfile);
  343.  
  344.                     SendClientMessage(playerid, 0xFF0000FF, string);
  345.  
  346.                     SendClientMessage(playerid, 0xFF0000FF, "Dont forget to change the /n to a back slash instead of a forward slash!");
  347.                 }
  348.                 else if(g_ChoseThree == true)
  349.                 {
  350.                     format(string, sizeof(string), "ShowPlayerDialog(playerid, %d, DIALOG_STYLE_LIST, %s, %s/n%s/n%s, %s, %s);\n", g_DialogID, g_DialogName, g_DialogList1, g_DialogList2, g_DialogList3, g_DialogButton1, g_DialogButton2);
  351.                     fwrite(dgfile, string);
  352.                     fclose(dgfile);
  353.  
  354.                     SendClientMessage(playerid, 0xFF0000FF, string);
  355.  
  356.                     SendClientMessage(playerid, 0xFF0000FF, "Dont forget to change the /n to a back slash instead of a forward slash!");
  357.                 }
  358.                 else if(g_ChoseFour == true)
  359.                 {
  360.                     format(string, sizeof(string), "ShowPlayerDialog(playerid, %d, DIALOG_STYLE_LIST, %s, %s/n%s/n%s/n%s, %s, %s);\n", g_DialogID, g_DialogName, g_DialogList1, g_DialogList2, g_DialogList3, g_DialogList4, g_DialogButton1, g_DialogButton2);
  361.                     fwrite(dgfile, string);
  362.                     fclose(dgfile);
  363.  
  364.                     SendClientMessage(playerid, 0xFF0000FF, string);
  365.  
  366.                     SendClientMessage(playerid, 0xFF0000FF, "Dont forget to change the /n to a back slash instead of a forward slash!");
  367.                 }
  368.                 else if(g_ChoseFive == true)
  369.                 {
  370.                     format(string, sizeof(string), "ShowPlayerDialog(playerid, %d, DIALOG_STYLE_LIST, %s, %s/n%s/n%s/n%s/n%s, %s, %s);\n", g_DialogID, g_DialogName, g_DialogList1, g_DialogList2, g_DialogList3, g_DialogList4, g_DialogList5, g_DialogButton1, g_DialogButton2);
  371.                     fwrite(dgfile, string);
  372.                     fclose(dgfile);
  373.  
  374.                     SendClientMessage(playerid, 0xFF0000FF, string);
  375.  
  376.                     SendClientMessage(playerid, 0xFF0000FF, "Dont forget to change the /n to a back slash instead of a forward slash!");
  377.                 }
  378.             }
  379.         }
  380.         g_ChoseText = false;
  381.         g_ChoseTwo = false;
  382.         g_ChoseThree = false;
  383.         g_ChoseFour = false;
  384.         g_ChoseFive = false;
  385.         return 1;
  386.     }
  387.     return 0;
  388. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement