Jump to content

GabiVlgS

Member
  • Posts

    231
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by GabiVlgS

  1. Incearca asa, spune-mi daca iti da o eroare, sau daca iti merge, daca nu, da-mi add pe GabiVlg#7760, si vorbim acolo
  2. https://pastebin.com/Wyx9R8TB Incearca asa, si 100% iti merge
  3. https://imgur.com/EPAy4yr https://imgur.com/TR7GnA6 public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid) { new string[180], minutes; if(minutes < 5 || minutes > 60) return SCM(playerid, -1, "{51f542}(Rent Car){ffffff}: Poti inchiria un vehicul intre 5 si 60 minute."); if(GetPlayerMoney(playerid) < minutes*RENT_PRICE) return SCM(playerid, -1, "{51f542}(Rent Car){ffffff}: Nu detii banii necesari pentru a inchiria."); GivePlayerMoney(playerid, -minutes*RENT_PRICE); if(playertextid == RentPTD[0]) { format(string, sizeof(string), "Ai inchiriat un NRG-500 pentru %d minute si ai platit $%d.", minutes, minutes*RENT_PRICE); RentVehicle[playerid] = CreateVehicle(522, 1187.8145, -1305.0448, 13.0057, -93.3000, -1, -1, 100); for(new i = 0; i < 3; i++) PlayerTextDrawHide(playerid, RentPTD); for(new i = 0; i < 4; i++) TextDrawHideForPlayer(playerid, RentTD); } if(playertextid == RentPTD[1]) { format(string, sizeof(string), "Ai inchiriat un Faggio pentru %d minute si ai platit $%d.", minutes, minutes*RENT_PRICE); RentVehicle[playerid] = CreateVehicle(462, 1187.8145, -1305.0448, 13.0057, -93.3000, -1, -1, 100); for(new i = 0; i < 3; i++) PlayerTextDrawHide(playerid, RentPTD); for(new i = 0; i < 4; i++) TextDrawHideForPlayer(playerid, RentTD); } if(playertextid == RentPTD[2]) { format(string, sizeof(string), "Ai inchiriat un Bike pentru %d minute si ai platit $%d.", minutes, minutes*RENT_PRICE); RentVehicle[playerid] = CreateVehicle(510, 1187.8145, -1305.0448, 13.0057, -93.3000, -1, -1, 100); for(new i = 0; i < 3; i++) PlayerTextDrawHide(playerid, RentPTD); for(new i = 0; i < 4; i++) TextDrawHideForPlayer(playerid, RentTD); } PlayerTimer[playerid] = SetTimerEx("RentCar", 60000*minutes, false, "%d", playerid); SCM(playerid, -1, string); PutPlayerInVehicle(playerid, RentVehicle[playerid], 0); SelectTextDraw(playerid, 0xFFFFFF00); return true; } CMD:rentcar(playerid, params[]) { if(!PlayerToPoint(5.0, playerid, 1178.7922,-1317.2759,14.1148)) return SCM(playerid, COLOR_WHITE, "Nu te aflii langa rent car!"); for(new i = 0; i < 3; i++) PlayerTextDrawShow(playerid, RentPTD); for(new i = 0; i < 4; i++) TextDrawShowForPlayer(playerid, RentTD); SelectTextDraw(playerid, 0xFFFFFF00); return true; }
  4. Username:GabiVlgProblema întălnită:Am facut un sistem de rentcar pe td, cu selectare tot, si nu imi apare cursor-ulDetalii despre problemă: Am pus in gamemode tot, SelectTextdraw, am modificat si la "PlayerTextDrawLetterSize", dar tot degeaba, nu imi apare cursor-ul sa selectezCe ai încercat să faci înainte să postezi?: - Cod sursă (recomandat pastebin.com) : nu-i nevoieAlte detalii: -
  5. public OnPlayerCommandPerformed(playerid, cmdtext[], success, params[]) { if(success) { SpamCheck[playerid] = GetTickCount(); } if(!success) return SCM(playerid, COLOR_LIGHTRED, "(!) {FFFFFF}Aceasta comanda nu exista, foloseste /help pentru o lista de comenzi."); return 1; } //incearca sa schimbi la OnPlayerCommandPerformed, si vezi daca iti merge, am avut in trecut problema si am rezolvat-o schimbant comanda, acuma nu garantez ca merge.
  6. Da, trebuia sa imi dea firma de host acces la ip-ul extern
  7. O sa incerc si varianta aceasta, o sa revin cu un post daca merge cu varianta asta
  8. Am schimbat datele de conectare, si sunt corecte.
  9. Username:GabiVlg Problema:De curand am schimbat host-ul la sa-mp pe gazduire jocuri, inainte aveam de la hzone, inainte imi mergea panel-ul nu avea nimic, cum am schimbat baza si am conectat panel-ul nu merge, cred ca o fii de la baza, sau nu am facut ceva bine sau o fii diferit. Imagini/Videoclipuri cu problema:https://imgur.com/eNgsOzy Cod sursă: Wcode#9 Alte detalii: -
×
×
  • Create New...