Jump to content

fasolebatuta

Member
  • Posts

    6
  • Joined

  • Last visited

About fasolebatuta

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

fasolebatuta's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Salut, am 2 bug uri la un sistem de masini personale. la comanda asta: YCMD:vehicles(playerid, params[], help) { if(!Iter_Count(PersonalVehicle[playerid])) return sendPlayerError(playerid, "Nu ai nici un vehicul personal."); new string[2048] = "Slot\tVehicle\tStatus\tDespawn Time\n"; foreach(new i : PersonalVehicle[playerid]) { if(PersonalVehicle[pvSpawnedID] == INVALID_VEHICLE_ID) { format(string, 2048, "%s{FFFFFF}%d\t%s\t{db0910}Despawned{FFFFFF}\t-\n", string, (i + 1), getVehicleName(PersonalVehicle[pvModelID])); } else { format(string, 2048, "%s{FFFFFF}%d\t%s\t%s\t%d minutes\n", string, (i + 1), getVehicleName(PersonalVehicle[pvModelID]), (IsVehicleOccupied(PersonalVehicle[pvSpawnedID])) ? ("{E5913E}Occupied{FFFFFF}") : ("{4DFF00}Spawned{FFFFFF}"), ((PersonalVehicle[pvDespawnTime] - gettime()) / 60)); } } new title[64]; format(title, 64, "%s's garage (%d slots)", getName(playerid), playerInfo[playerid][pVehicleSlots]); Dialog_Show(playerid, 0, DIALOG_STYLE_TABLIST_HEADERS, title, string, "Select", "Close"); return true; } acolo la %d slots si despawn time nu merge, arata asta. O sa va las poza. https://imgur.com/a/kjtqgNi
  2. https://imgur.com/a/jELYlVb am uitat sa pun poza
  3. Intrebare: Cand scriu pe chat imi apare de 2 ori. Ai încercat să faci ceva înainte să postezi?: Da, desigur + ca am si cautat pe internet dar tot degeaba. Cod: public OnPlayerText(playerid, text[]) { if(IsPlayerLogged(playerid)) { if(PlayerInfo[playerid][pMute] > gettime()) { SendFormatMessage(playerid, 0xe88d87FF, "You are muted! You can type again in %d %s.", ((PlayerInfo[playerid][pMute] - gettime()) > 60) ? ((PlayerInfo[playerid][pMute] - gettime()) / 60) : (PlayerInfo[playerid][pMute] - gettime()), ((PlayerInfo[playerid][pMute] - gettime()) > 60) ? ("minutes") : ("seconds")); return false; } SendNearbyMessage(playerid, COLOR_WHITE, 25.0, "%s: %s", GetPlayerNameEx(playerid), text); SetPlayerChatBubble(playerid, text, COLOR_WHITE, 25.0, 5000); gQuery[0] = (EOS); mysql_format(SQL, gQuery, sizeof(gQuery), "INSERT INTO `server_chat_log` (Name, Text) VALUES ('%s', '%s')", GetPlayerNameEx(playerid), text); mysql_pquery(SQL, gQuery, "", ""); } return 1; } // Poza in game ("")
  4. Stiu ca nu trebuie sa scriu aici, dar va rog sa ma ajutati. Am pus cleo pe notepad si cand il bag in cleo si intru in gta imi da crash. Cum pot sa fac sa il bag iar in Windows Shell Commor?
×
×
  • Create New...