Jump to content

Andry1995

Membru
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Andry1995

  1. Salutare, am si eu o mica problema! Doresc sa compilez gamemodul si nu merge imi sta asa(oricat timp il las tot asa este): http://postimg.org/image/deqfc0kxd/ Problema pentru care nu imi merge compilarea este ca am creeat recent niste dialoguri stil INPUT si in dialog am text lung Ex: "1. Intrebarenn[A] Raspuns-1nRaspuns-2n[C]Raspuns-3" La primele doua seturi de 10 intrebari nu a aparut problema dar dupa ce am m-ai pus inca doua seturi de 10 intrebari nu mi-a mai mers si acum daca sterg ultimele doua seturi de intrebari tot asa imi apare numai daca le sterg pe toate imi merge! Pareri?
  2. Salutare, cum as putea corecta 3 warning-uri? #include <a_samp> #include <ZCMD> stock AddLogLine( field[ ], file[ ], input[ ] ) { new string[128]; format(string, 128, "%s: %srn", field, input); new File:fhandle; if(fexist(file)) { printf("Creare Fisier '%s' deoarece nu exista niciun fisier cu aces cuvant.", file); } fhandle = fopen(file,io_append); fwrite(fhandle,string); fclose(fhandle); return 1; } stock WriteLog(file[], input[]) { File:filevar; if(!fexist(file)) filevar = fopen(file, io_write); else filevar = fopen(file, io_append); if(!fexist(file)) { printf("Failed to load '%s'", file); return 0; } else { new str[512]; format(str, sizeof(str), "%srn", input); fwrite(filevar, input); fclose(filevar); return 1; } } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 181 && response == 1) { new string[256]; if(!fexist("RadioRequests.txt")) { new File:create = fopen("RadioRequests.txt", io_write); fclose(create); } format(string, sizeof(string), "%srn", inputtext); new Fike:pos=fopen("RadioRequests.txt", io_append); fwrite(pos, string); fclose(pos); } return 1; } COMMAND:myemail(playerid, params[]) { ShowPlayerDialog(playerid, 181, DIALOG_STYLE_INPUT, "DataBase Registering", "{CACA11}Care este mail-ul tau?n{108XII}Vom avea nevoie de mail-ul tau", "Ok", ""); return 1; } Imi zice ca: warning 213: tag mismatch la liniile 53, 54, 55; Adica alea de la dialog response "new Fike:...../fwrite(pos, string);/fclose(pos);
  3. Asa ma gandeam si eu dar nu eram sigur pentru ca acel obiect l-am mai sters demult si nu imi aparea aceasta problema, in fine. Mersi oricum
  4. Nu inteleg de ce imi arta o parte din obiect, daca ma uit dintr-o parte nu mi-l arata, iar daca ma uit din alta parte mi-l arata. Un sfat ceva? Photo1: http://postimg.org/image/40bt7vgzx/ Photo2: http://postimg.org/image/b2s31af6z/ Photo3: http://postimg.org/image/fwbu65bor/
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.