Jump to content

Confirmatul

Member
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Confirmatul

  1. Problema rezolvata multumesc @[RW]Robi ????
  2. Up cine ma poate ajuta sa lase un pastbin direct
  3. pai si cum adaug nu poti lasa un pastbin sau direct chat asa direct cu loadcarsa pun direct ca nu stiu
  4. nu merge imatt tot asa da Log("14:41:23","cache_get_row_count",2,"no active cache",0);
  5. incerca sa pui numia una s[128] nu mai multe
  6. sau poate e de la asta uitati stock ShowPlayerVehicle(playerid) { new szTitle[180], szDialog[1300], szDialog2[1300], vstatus[1024]; if(GetVehicles(playerid) == 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Nu ai un vehicul personal!"); format(szTitle, sizeof(szTitle), "Vehicles (%d/%d)", GetVehicles(playerid), TotalSlots(playerid)); for(new i = 0; i < 10; i++) { if(i < 5) { if(i < 3) { if(PlayerInfo[playerid][pCarKey] != 0) { new car = PlayerInfo[playerid][pCarKey]; if(IsVehicleOccupied(CarInfo[car][Spawned])) format(vstatus, sizeof(vstatus), "{FFFF00}(Occupied){FFFFFF} %s", aVehicleNames[CarInfo[car][cModel]-400]); else if(CarInfo[car][Spawned] > 0) format(vstatus, sizeof(vstatus), "{26B309}(Spawned){FFFFFF} %s", aVehicleNames[CarInfo[car][cModel]-400]); else format(vstatus, sizeof(vstatus), "{FF0000}(Despawnat){FFFFFF} %s", aVehicleNames[CarInfo[car][cModel]-400]); format(szDialog, sizeof(szDialog), "%s\n", vstatus); strcat(szDialog2, szDialog); } else strcat(szDialog2, "{FFD857}<slot liber>\n"), sVehicle[playerid] = 0; } else { if(PlayerInfo[playerid][pCarKey] != 0) { new car = PlayerInfo[playerid][pCarKey]; if(IsVehicleOccupied(CarInfo[car][Spawned])) format(vstatus, sizeof(vstatus), "{FFFF00}(Occupied){FFFFFF} %s", aVehicleNames[CarInfo[car][cModel]-400]); else if(CarInfo[car][Spawned] > 0) format(vstatus, sizeof(vstatus), "{26B309}(Spawned){FFFFFF} %s", aVehicleNames[CarInfo[car][cModel]-400]); else format(vstatus, sizeof(vstatus), "{FF0000}(Despawnat){FFFFFF} %s", aVehicleNames[CarInfo[car][cModel]-400]); format(szDialog, sizeof(szDialog), "%s\n", vstatus); strcat(szDialog2, szDialog); } else if(PlayerInfo[playerid][pPremiumAccount] == 1) strcat(szDialog2, "{FFD857}<slot liber>\n"), sVehicle[playerid] = 0; } } else { if(PlayerInfo[playerid][pCarKey] != 0) { new car = PlayerInfo[playerid][pCarKey]; if(IsVehicleOccupied(CarInfo[car][Spawned])) format(vstatus, sizeof(vstatus), "{FFFF00}(Occupied){FFFFFF} %s", aVehicleNames[CarInfo[car][cModel]-400]); else if(CarInfo[car][Spawned] > 0) format(vstatus, sizeof(vstatus), "{26B309}(Spawned){FFFFFF} %s", aVehicleNames[CarInfo[car][cModel]-400]); else format(vstatus, sizeof(vstatus), "{FF0000}(Despawnat){FFFFFF} %s", aVehicleNames[CarInfo[car][cModel]-400]); format(szDialog, sizeof(szDialog), "%s\n", vstatus); strcat(szDialog2, szDialog); } else if(PlayerInfo[playerid][pSlot][i-5] == 1) strcat(szDialog2, "{FFD857}<slot liber>\n"), sVehicle[playerid] = 0; } } ShowPlayerDialog(playerid, DIALOG_GARAGE, DIALOG_STYLE_LIST, szTitle, szDialog2, "Ok", "Exit"); return 1; }
  7. Username:Confirmatul Problema întălnită:cand folosesc comanda /v imi da asta in baza de date Log("00:27:33","cache_get_row_count",2,"no active cache",0); Detalii despre problemă:Cand folosesc /v imi da asta Log("00:27:33","cache_get_row_count",2,"no active cache",0); Ce ai încercat să faci înainte să postezi?:Da sa pun for(new i sa zicem dar pica sv :(( Cod sursă (recomandat pastebin.com) :https://pastebin.com/RRHb0yaQ Alte detalii:va rog sa lasati si un pastbin cu functia corecta sa o pun in gm direct ca nu ma pricep ????
×
×
  • Create New...