Jump to content

AloNNe

Membru
  • Posts

    64
  • Joined

  • Last visited

Everything posted by AloNNe

  1. CMD:factions(playerid, params[]) { new szDialog[180], szDialog2[1024]; strcat(szDialog2, "Numele factiunii\tMembrii/Locuri\tAplicatii\n"); for(new i = 1; i < 17; i++) { format(szDialog, sizeof(szDialog), "%d. %s\t%s/7\t%s\n", i, FactionName(i), GetFactionMembers(i), GetFactionStatus(i)); strcat(szDialog2, szDialog); } ShowPlayerDialog(playerid, DIALOG_FACTIONS, DIALOG_STYLE_TABLIST_HEADERS, "Factiuni:", szDialog2, "Ok", "Close"); return 1; } stock GetFactionStatus(fid) { new szStatus[180]; if(DynamicFactions[fid][fApp] == 1) format(szStatus, 256, "{FF0000}Inchise{FFFFFF}"); else format(szStatus, 256, "{2FC914}Deschise{FFFFFF}"); return szStatus; } stock GetFactionStatus2(fid) { new szStatus[180]; if(DynamicFactions[fid][fApp] == 0) format(szStatus, 256, "Inchise"); else format(szStatus, 256, "Deschise"); return szStatus; } daca las 16, merge dar trb 17 sa apara si noua mafie.. si nu mergee
  2. tot nu mere /factions....
  3. mersii, dar la war deelay e pus 17, am adaugat 3 factiuni, 2 merg, 1 nu merge si am incercat sa fac si school instructor in loc de ea, da ciuciu
  4. } function LocalTimer() { new string[200], query[200]; // licitatii automate new year, month, day; getdate(year, month, day); new days[180]; format(days, sizeof(days), GetWeekDay(day, month, year)); new hour,minute,second; gettime(hour,minute,second); if(strcmp(days,"Monday",true) == 0 && hour == 00 && second == 0) { format(query, sizeof(query), "UPDATE `users` SET `HelpedPlayersToday`='0' WHERE `Admin`>='1'"); mysql_query(SQL ,query); foreach(Player, i) { if(IsPlayerConnected(i) && IsPlayerLogged == 1) { if(PlayerInfo[pAdmin] != 0) PlayerInfo[pHelpedPlayersToday] = 0; } } } if(strcmp(days,"Saturday",true) == 0 || strcmp(days,"Sunday",true) == 0 || strcmp(days,"Friday",true) == 0) { if(ServerSystem[10] == 0) { if(hour == 20 && Licitatie == 0 || hour == 21 && Licitatie == 0) { if(FreeBusinesses() > 0) { new id = GetBizzID(); Licitatie = 1; TipLicitatie = 2; TimpLicitatie = 5*60; TotalBani = 0; foreach(Player, i) { if(IsPlayerConnected(i) && IsPlayerLogged == 1) TotalMoney = 0; } IDLicitatie = id; LastPlayer = -1; foreach(Player, i) { if(IsPlayerConnected(i) && toglicitatie == 0) { SendClientMessage(i, COLOR_YELLOW, "O licitatie tocmai a inceput. Optiunea de a vedea mesajele de la licitatie este dezactivata."); SendClientMessage(i, COLOR_YELLOW, "Daca vrei sa vezi mesajele, foloseste comanda /tog iar daca vrei sa vezi pentru ce se liciteaza, foloseste /info."); } } MesajLicitatie(0x7A45FFFF, "O noua licitatie tocmai a inceput!"); switch(TipLicitatie) { case 1: format(string, sizeof(string), "De data aceasta, se liciteaza pentru casa cu ID-ul %d. (/findhouse %d). ", id, id); case 2: format(string, sizeof(string), "De data aceasta, se liciteaza pentru afacerea cu ID-ul %d. (/findbiz %d). ", id, id); } MesajLicitatie(0x7A45FFFF, string); format(string, sizeof(string), "Ai la dispozitie 5 minute pentru a licita."); MesajLicitatie(0x7A45FFFF, string); MesajLicitatie(0x7A45FFFF, "Comenzi disponibile: (/bid - licitezi), (/info - informatii)"); } else if(FreeHouses() > 0) { new id = GetHouseID(); Licitatie = 1; TipLicitatie = 1; TimpLicitatie = 5*60; TotalBani = 0; foreach(Player, i) { if(IsPlayerConnected(i) && IsPlayerLogged == 1) TotalMoney = 0; } IDLicitatie = id; LastPlayer = -1; foreach(Player, i) { if(IsPlayerConnected(i) && toglicitatie == 0) { SendClientMessage(i, COLOR_YELLOW, "O licitatie tocmai a inceput. Optiunea de a vedea mesajele de la licitatie este dezactivata."); SendClientMessage(i, COLOR_YELLOW, "Daca vrei sa vezi mesajele, foloseste comanda /tog iar daca vrei sa vezi pentru ce se liciteaza, foloseste /info."); } } MesajLicitatie(0x7A45FFFF, "O noua licitatie tocmai a inceput!"); switch(TipLicitatie) { case 1: format(string, sizeof(string), "De data aceasta, se liciteaza pentru casa cu ID-ul %d. (/findhouse %d). ", id, id); case 2: format(string, sizeof(string), "De data aceasta, se liciteaza pentru afacerea cu ID-ul %d. (/findbiz %d). ", id, id); } MesajLicitatie(0x7A45FFFF, string); format(string, sizeof(string), "Ai la dispozitie 5 minute pentru a licita."); MesajLicitatie(0x7A45FFFF, string); MesajLicitatie(0x7A45FFFF, "Comenzi disponibile: (/bid - licitezi), (/info - informatii)"); } else if(minute == 0 && second == 0) SendAdminMessage(COLOR_LOGS, "AdmBot: Nu sunt proprietati ce poti fi scoase la licitatie.", 1); } } } poftim, si da e mafie
  5. } function LocalTimer() { new string[200], query[200]; // licitatii automate new year, month, day; getdate(year, month, day); new days[180]; format(days, sizeof(days), GetWeekDay(day, month, year)); new hour,minute,second; gettime(hour,minute,second); if(strcmp(days,"Monday",true) == 0 && hour == 00 && second == 0) { format(query, sizeof(query), "UPDATE `users` SET `HelpedPlayersToday`='0' WHERE `Admin`>='1'"); mysql_query(SQL ,query); foreach(Player, i) { if(IsPlayerConnected(i) && IsPlayerLogged == 1) { if(PlayerInfo[pAdmin] != 0) PlayerInfo[pHelpedPlayersToday] = 0; } } } if(strcmp(days,"Saturday",true) == 0 || strcmp(days,"Sunday",true) == 0 || strcmp(days,"Friday",true) == 0) { if(ServerSystem[10] == 0) {
  6. help te rog, nu stiu ce sa fac.. function LocalTimer() { new string[200], query[200]; // licitatii automate new year, month, day; getdate(year, month, day); new days[180]; format(days, sizeof(days), GetWeekDay(day, month, year)); new hour,minute,second; gettime(hour,minute,second); if(strcmp(days,"Monday",true) == 0 && hour == 00 && second == 0) { format(query, sizeof(query), "UPDATE `users` SET `HelpedPlayersToday`='0' WHERE `Admin`>='1'"); mysql_query(SQL ,query); foreach(Player, i) { if(IsPlayerConnected(i) && IsPlayerLogged == 1) { if(PlayerInfo[pAdmin] != 0) PlayerInfo[pHelpedPlayersToday] = 0; } }
  7. doar aste imi gaseste http://prntscr.com/j3duab ,http://prntscr.com/j3duk8
  8. nu gasesc nmk doar aste imi gaseste http://prntscr.com/j3duab ,http://prntscr.com/j3duk8
  9. [15:56:31] [debug] Run time error 4: "Array index out of bounds" [15:56:31] [debug] Accessing element at index 16 past array upper bound 15 [15:56:31] [debug] AMX backtrace: [15:56:31] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:32] [debug] Run time error 4: "Array index out of bounds" [15:56:32] [debug] Accessing element at index 16 past array upper bound 15 [15:56:32] [debug] AMX backtrace: [15:56:32] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:33] [debug] Run time error 4: "Array index out of bounds" [15:56:33] [debug] Accessing element at index 16 past array upper bound 15 [15:56:33] [debug] AMX backtrace: [15:56:33] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:34] [debug] Run time error 4: "Array index out of bounds" [15:56:34] [debug] Accessing element at index 16 past array upper bound 15 [15:56:34] [debug] AMX backtrace: [15:56:34] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:35] [debug] Run time error 4: "Array index out of bounds" [15:56:35] [debug] Accessing element at index 16 past array upper bound 15 [15:56:35] [debug] AMX backtrace: [15:56:35] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:36] [debug] Run time error 4: "Array index out of bounds" [15:56:36] [debug] Accessing element at index 16 past array upper bound 15 [15:56:36] [debug] AMX backtrace: [15:56:36] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:37] [debug] Run time error 4: "Array index out of bounds" [15:56:37] [debug] Accessing element at index 16 past array upper bound 15 [15:56:37] [debug] AMX backtrace: [15:56:37] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:38] [debug] Run time error 4: "Array index out of bounds" [15:56:38] [debug] Accessing element at index 16 past array upper bound 15 [15:56:38] [debug] AMX backtrace: [15:56:38] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:39] [debug] Run time error 4: "Array index out of bounds" [15:56:39] [debug] Accessing element at index 16 past array upper bound 15 [15:56:39] [debug] AMX backtrace: [15:56:39] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:40] [debug] Run time error 4: "Array index out of bounds" [15:56:40] [debug] Accessing element at index 16 past array upper bound 15 [15:56:40] [debug] AMX backtrace: [15:56:40] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:41] [debug] Run time error 4: "Array index out of bounds" [15:56:41] [debug] Accessing element at index 16 past array upper bound 15 [15:56:41] [debug] AMX backtrace: [15:56:41] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:42] [debug] Run time error 4: "Array index out of bounds" [15:56:42] [debug] Accessing element at index 16 past array upper bound 15 [15:56:42] [debug] AMX backtrace: [15:56:42] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:43] [debug] Run time error 4: "Array index out of bounds" [15:56:43] [debug] Accessing element at index 16 past array upper bound 15 [15:56:43] [debug] AMX backtrace: [15:56:43] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:44] [debug] Run time error 4: "Array index out of bounds" [15:56:44] [debug] Accessing element at index 16 past array upper bound 15 [15:56:44] [debug] AMX backtrace: [15:56:44] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:45] [debug] Run time error 4: "Array index out of bounds" [15:56:45] [debug] Accessing element at index 16 past array upper bound 15 [15:56:45] [debug] AMX backtrace: [15:56:45] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:47] [debug] Run time error 4: "Array index out of bounds" [15:56:47] [debug] Accessing element at index 16 past array upper bound 15 [15:56:47] [debug] AMX backtrace: [15:56:47] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:48] [debug] Run time error 4: "Array index out of bounds" [15:56:48] [debug] Accessing element at index 16 past array upper bound 15 [15:56:48] [debug] AMX backtrace: [15:56:48] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:49] [debug] Run time error 4: "Array index out of bounds" [15:56:49] [debug] Accessing element at index 16 past array upper bound 15 [15:56:49] [debug] AMX backtrace: [15:56:49] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:50] [debug] Run time error 4: "Array index out of bounds" [15:56:50] [debug] Accessing element at index 16 past array upper bound 15 [15:56:50] [debug] AMX backtrace: [15:56:50] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:51] [debug] Run time error 4: "Array index out of bounds" [15:56:51] [debug] Accessing element at index 16 past array upper bound 15 [15:56:51] [debug] AMX backtrace: [15:56:51] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:52] [debug] Run time error 4: "Array index out of bounds" [15:56:52] [debug] Accessing element at index 16 past array upper bound 15 [15:56:52] [debug] AMX backtrace: [15:56:52] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:53] [debug] Run time error 4: "Array index out of bounds" [15:56:53] [debug] Accessing element at index 16 past array upper bound 15 [15:56:53] [debug] AMX backtrace: [15:56:53] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:54] [debug] Run time error 4: "Array index out of bounds" [15:56:54] [debug] Accessing element at index 16 past array upper bound 15 [15:56:54] [debug] AMX backtrace: [15:56:54] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:55] [debug] Run time error 4: "Array index out of bounds" [15:56:55] [debug] Accessing element at index 16 past array upper bound 15 [15:56:55] [debug] AMX backtrace: [15:56:55] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx [15:56:56] [debug] Run time error 4: "Array index out of bounds" [15:56:56] [debug] Accessing element at index 16 past array upper bound 15 [15:56:56] [debug] AMX backtrace: [15:56:56] [debug] #0 00256ff0 in public LocalTimer () from wa-rpg.amx
  10. Aia cred si eu, dar nici alte factiune pe care le adaug nu merg... gen am adaugat 2 si a mers, a 3-a nu merge
  11. Am adaugat 2 factiuni noi pe burned, si acele merg, acum m-am gandit sa am 3 bagate si am baga-to si cand dau /factions zice ca nu exista comanda, va rog ajutor..
  12. masinile sunt din baza de date, asa e pe burned
  13. Am editat Gamemode Burned, si am adaugat o factiune, totul merge perfect inafara de masini, cand intru in masini zice ca nu-s membru, desi eu sunt, am facut lvpd si merge perfect, va rog ajutati-ma..
  14. aolo sa-mi bag pl de nu am 30 minute aiurea stand si uitandu-ma la ecran cu speranta sa se compilezee
×
×
  • 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.