Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 5.20 KB | None | 0 0
  1. dcmd_cp(playerid, params[])
  2. {
  3.     #pragma unused params
  4.     new String1[100];
  5. /***
  6.     new String2[100];
  7.     new String3[100];
  8.     new String4[100];
  9.     new String5[100];
  10.     new String6[100];
  11.     new String7[100];
  12.     new String8[100];
  13.     new String9[100];
  14.     new String10[100];
  15.     new String11[100];
  16.     new String12[100];
  17.     new String13[100];
  18.     new String14[100];
  19.     new String15[100];
  20.     new String16[100];
  21.     new idmeteo = GetPVarInt(playerid, "OPTION_METEO");
  22. ***/
  23.     new StringG[5000];
  24.     format(String1, sizeof(String1), "\t\t\t{B8FF02}..::{3FCD02}Option General{B8FF02}::..\n");
  25.     SendClientMessage(playerid, -1, String1);
  26. /***
  27.     strins(StringG,String1,strlen(StringG),sizeof(StringG));
  28.     if(GetPVarInt(playerid, "OPTION_GODMODE") == 0) format(String2, sizeof(String2), "{FFAF00}Mode God\t\t{C9FFAB}OFF\n");
  29.     else if(GetPVarInt(playerid, "OPTION_GODMODE") == 1) format(String2, sizeof(String2), "{FFAF00}Mode God\t\t{C9FFAB}ON\n");
  30.     SendClientMessage(playerid, -1, String2);
  31.     if(GetPVarInt(playerid, "OPTION_GODCAR") == 0) format(String3, sizeof(String3), "{FFAF00}Mode God Vehicule\t{C9FFAB}OFF\n");
  32.     else if(GetPVarInt(playerid, "OPTION_GODCAR") == 1) format(String3, sizeof(String3), "{FFAF00}Mode God Vehicule\t{C9FFAB}ON\n");
  33.     SendClientMessage(playerid, -1, String3);
  34.     if(GetPVarInt(playerid, "OPTION_PM") == 0) format(String4, sizeof(String4), "{FFAF00}PM Transfert\t\t{C9FFAB}OFF\n");
  35.     else if(GetPVarInt(playerid, "OPTION_PM") == 1) format(String4, sizeof(String4), "{FFAF00}PM Transfert\t\t{C9FFAB}ON\n");
  36.     SendClientMessage(playerid, -1, String4);
  37.     if(GetPVarInt(playerid, "OPTION_GOTO") == 0) format(String5, sizeof(String5), "{FFAF00}TP vers vous\t\t{C9FFAB}OFF\n");
  38.     else if(GetPVarInt(playerid, "OPTION_GOTO") == 1) format(String5, sizeof(String5), "{FFAF00}TP vers vous\t\t{C9FFAB}ON\n");
  39.     SendClientMessage(playerid, -1, String5);
  40.     if(GetPVarInt(playerid, "OPTION_ANIM") == 0) format(String6, sizeof(String6), "{FFAF00}Freeze animation\t{C9FFAB}OFF\n");
  41.     else if(GetPVarInt(playerid, "OPTION_ANIM") == 1) format(String6, sizeof(String6), "{FFAF00}Freeze animation\t{C9FFAB}ON\n");
  42.     SendClientMessage(playerid, -1, String6);
  43.     if(GetPVarInt(playerid, "OPTION_NOS") == 0) format(String7, sizeof(String7), "{FFAF00}Nitro illimité\t\t{C9FFAB}OFF\n");
  44.     else if(GetPVarInt(playerid, "OPTION_NOS") == 1) format(String7, sizeof(String7), "{FFAF00}Nitro illimité\t\t{C9FFAB}ON\n");
  45.     SendClientMessage(playerid, -1, String7);
  46.     if(GetPVarInt(playerid, "OPTION_BOOST") == 0) format(String8, sizeof(String8), "{FFAF00}Boost vehicule\t\t{C9FFAB}OFF\n");
  47.     else if(GetPVarInt(playerid, "OPTION_BOOST") == 1) format(String8, sizeof(String8), "{FFAF00}Boost vehicule\t\t{C9FFAB}ON\n");
  48.     SendClientMessage(playerid, -1, String8);
  49.     if(GetPVarInt(playerid, "OPTION_JUMPCAR") == 0) format(String9, sizeof(String9), "{FFAF00}Saut vehicule\t\t{C9FFAB}OFF\n");
  50.     else if(GetPVarInt(playerid, "OPTION_JUMPCAR") == 1) format(String9, sizeof(String9), "{FFAF00}Saut vehicule\t\t{C9FFAB}ON\n");
  51.     SendClientMessage(playerid, -1, String9);
  52.     if(GetPVarInt(playerid, "OPTION_QUIZZ") == 0) format(String10, sizeof(String10), "{FFAF00}Participer Quizz\t{C9FFAB}OFF\n");
  53.     else if(GetPVarInt(playerid, "OPTION_QUIZZ") == 1) format(String10, sizeof(String10), "{FFAF00}Participer Quizz\t{C9FFAB}ON\n");
  54.     SendClientMessage(playerid, -1, String10);
  55.     if(GetPVarInt(playerid, "OPTION_HUD") == 0) format(String11, sizeof(String11), "{FFAF00}HUD\t\t\t{C9FFAB}OFF\n");
  56.     else if(GetPVarInt(playerid, "OPTION_HUD") == 1) format(String11, sizeof(String11), "{FFAF00}HUD\t\t\t{C9FFAB}ON\n");
  57.     SendClientMessage(playerid, -1, String11);
  58.     format(String12, sizeof(String12), "{FFAF00}Temps\t\t\t{C9FFAB}%iH\n", GetPVarInt(playerid, "OPTION_HEURE"));
  59.     SendClientMessage(playerid, -1, String12);
  60.     format(String13, sizeof(String13), "{FFAF00}Meteo\t\t\t{C9FFAB}%s\n", CheckMeteo(idmeteo));
  61.     SendClientMessage(playerid, -1, String13);
  62.     format(String14, sizeof(String14), "\t\t\t{B8FF02}..::{3FCD02}Information Compte{B8FF02}::..\n");
  63.     SendClientMessage(playerid, -1, String14);
  64.     format(String15, sizeof(String15), "{00FFEE}Groupe\t\t\t{C9FFAB}Aucun\n");
  65.     SendClientMessage(playerid, -1, String15);
  66.     format(String16, sizeof(String16), "{00FFEE}Mes stats\n");
  67.     SendClientMessage(playerid, -1, String16);
  68.     strins(StringG,String2,strlen(StringG),sizeof(StringG));
  69.     strins(StringG,String3,strlen(StringG),sizeof(StringG));
  70.     strins(StringG,String4,strlen(StringG),sizeof(StringG));
  71.     strins(StringG,String5,strlen(StringG),sizeof(StringG));
  72.     strins(StringG,String6,strlen(StringG),sizeof(StringG));
  73.     strins(StringG,String7,strlen(StringG),sizeof(StringG));
  74.     strins(StringG,String8,strlen(StringG),sizeof(StringG));
  75.     strins(StringG,String9,strlen(StringG),sizeof(StringG));
  76.     strins(StringG,String10,strlen(StringG),sizeof(StringG));
  77.     strins(StringG,String11,strlen(StringG),sizeof(StringG));
  78.     strins(StringG,String12,strlen(StringG),sizeof(StringG));
  79.     strins(StringG,String13,strlen(StringG),sizeof(StringG));
  80.     strins(StringG,String14,strlen(StringG),sizeof(StringG));
  81.     strins(StringG,String15,strlen(StringG),sizeof(StringG));
  82.     strins(StringG,String16,strlen(StringG),sizeof(StringG));
  83. ***/
  84.     ShowPlayerDialog(playerid,25000,DIALOG_STYLE_LIST,"Control Panel - Fun.One-Generation.eu", StringG, "Option", "Fermer");
  85.     return 1;
  86. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement