Jump to content
  • 0

Bug


cobalt_thekiller

Question

3 answers to this question

Recommended Posts

  • 0
19 minutes ago, Serbaq said:

vezi poate ai niste textdraw-uri prin el care sunt albe si acopera

 

Salut, este de la acest textdraw ca l am sters si am bagat pe ala default si nu mai erau o sa iti las textdraw ul aici poate ma poti ajuta ms

    SpeedometerPTD[0] = CreatePlayerTextDraw(playerid, 486.799835, 320.666625, "box");
    PlayerTextDrawLetterSize(playerid, SpeedometerPTD[0], 0.000000, 9.520000);
    PlayerTextDrawTextSize(playerid, SpeedometerPTD[0], 622.000000, 0.000000);
    PlayerTextDrawAlignment(playerid, SpeedometerPTD[0], 1);
    PlayerTextDrawColor(playerid, SpeedometerPTD[0], 255);
    PlayerTextDrawUseBox(playerid, SpeedometerPTD[0], 1);
    PlayerTextDrawBoxColor(playerid, SpeedometerPTD[0], 54);
    PlayerTextDrawSetShadow(playerid, SpeedometerPTD[0], 0);
    PlayerTextDrawSetOutline(playerid, SpeedometerPTD[0], 0);
    PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[0], 255);
    PlayerTextDrawFont(playerid, SpeedometerPTD[0], 1);
    PlayerTextDrawSetProportional(playerid, SpeedometerPTD[0], 1);

    SpeedometerPTD[1] = CreatePlayerTextDraw(playerid, 493.399658, 326.486572, "box");
    PlayerTextDrawLetterSize(playerid, SpeedometerPTD[1], 0.000000, 8.400001);
    PlayerTextDrawTextSize(playerid, SpeedometerPTD[1], 616.100463, 0.000000);
    PlayerTextDrawAlignment(playerid, SpeedometerPTD[1], 1);
    PlayerTextDrawColor(playerid, SpeedometerPTD[1], -16776961);
    PlayerTextDrawUseBox(playerid, SpeedometerPTD[1], 1);
    PlayerTextDrawBoxColor(playerid, SpeedometerPTD[1], 60);
    PlayerTextDrawSetShadow(playerid, SpeedometerPTD[1], 0);
    PlayerTextDrawSetOutline(playerid, SpeedometerPTD[1], 0);
    PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[0], 255);
    PlayerTextDrawFont(playerid, SpeedometerPTD[1], 1);
    PlayerTextDrawSetProportional(playerid, SpeedometerPTD[1], 1);

    SpeedometerPTD[2] = CreatePlayerTextDraw(playerid, 492.999908, 360.333343, "hud:radar_impound");
    PlayerTextDrawLetterSize(playerid, SpeedometerPTD[2], 0.000000, 0.000000);
    PlayerTextDrawTextSize(playerid, SpeedometerPTD[2], 13.000000, 12.000000);
    PlayerTextDrawAlignment(playerid, SpeedometerPTD[2], 1);
    PlayerTextDrawColor(playerid, SpeedometerPTD[2], -1);
    PlayerTextDrawUseBox(playerid, SpeedometerPTD[2], 1);
    PlayerTextDrawBoxColor(playerid, SpeedometerPTD[2], 0);
    PlayerTextDrawSetShadow(playerid, SpeedometerPTD[2], 0);
    PlayerTextDrawSetOutline(playerid, SpeedometerPTD[2], 0);
    PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[2], 255);
    PlayerTextDrawFont(playerid, SpeedometerPTD[2], 4);
    PlayerTextDrawSetProportional(playerid, SpeedometerPTD[2], 0);

    SpeedometerPTD[3] = CreatePlayerTextDraw(playerid, 508.400146, 345.306854, "Speed:_200km/h");
    PlayerTextDrawLetterSize(playerid, SpeedometerPTD[3], 0.239999, 1.390933);
    PlayerTextDrawAlignment(playerid, SpeedometerPTD[3], 1);
    PlayerTextDrawColor(playerid, SpeedometerPTD[3], -1);
    PlayerTextDrawUseBox(playerid, SpeedometerPTD[3], 1);
    PlayerTextDrawSetShadow(playerid, SpeedometerPTD[3], 0);
    PlayerTextDrawSetOutline(playerid, SpeedometerPTD[3], 0);
    PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[3], 255);
    PlayerTextDrawFont(playerid, SpeedometerPTD[3], 2);
    PlayerTextDrawSetProportional(playerid, SpeedometerPTD[3], 1);
     
    SpeedometerPTD[4] = CreatePlayerTextDraw(playerid, 492.199920, 346.893432, "hud:radar_sweet");
    PlayerTextDrawLetterSize(playerid, SpeedometerPTD[4], 0.000000, 0.000000);
    PlayerTextDrawTextSize(playerid, SpeedometerPTD[4], 13.000000, 11.000000);
    PlayerTextDrawAlignment(playerid, SpeedometerPTD[4], 1);
    PlayerTextDrawColor(playerid, SpeedometerPTD[4], -1);
    PlayerTextDrawUseBox(playerid, SpeedometerPTD[4], 1);
    PlayerTextDrawSetShadow(playerid, SpeedometerPTD[4], 0);
    PlayerTextDrawSetOutline(playerid, SpeedometerPTD[4], 0);
    PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[4], 255);
    PlayerTextDrawFont(playerid, SpeedometerPTD[4], 4);
    PlayerTextDrawSetProportional(playerid, SpeedometerPTD[4], 0);
     
    SpeedometerPTD[5] = CreatePlayerTextDraw(playerid, 510.000183, 359.546905, "Fuel:_100L");
    PlayerTextDrawLetterSize(playerid, SpeedometerPTD[5], 0.239999, 1.390933);
    PlayerTextDrawAlignment(playerid, SpeedometerPTD[5], 1);
    PlayerTextDrawColor(playerid, SpeedometerPTD[5], -1);
    PlayerTextDrawUseBox(playerid, SpeedometerPTD[5], 1);
    PlayerTextDrawSetShadow(playerid, SpeedometerPTD[5], 0);
    PlayerTextDrawSetOutline(playerid, SpeedometerPTD[5], 0);
    PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[5], 255);
    PlayerTextDrawFont(playerid, SpeedometerPTD[5], 2);
    PlayerTextDrawSetProportional(playerid, SpeedometerPTD[5], 1);
     
    SpeedometerPTD[6] = CreatePlayerTextDraw(playerid, 492.999908, 376.013366, "hud:radar_modgarage");
    PlayerTextDrawLetterSize(playerid, SpeedometerPTD[6], 0.000000, 0.000000);
    PlayerTextDrawTextSize(playerid, SpeedometerPTD[6], 13.000000, 12.000000);
    PlayerTextDrawAlignment(playerid, SpeedometerPTD[6], 1);
    PlayerTextDrawColor(playerid, SpeedometerPTD[6], -1);
    PlayerTextDrawUseBox(playerid, SpeedometerPTD[6], 1);
    PlayerTextDrawSetShadow(playerid, SpeedometerPTD[6], 0);
    PlayerTextDrawSetOutline(playerid, SpeedometerPTD[6], 0);
    PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[6], 255);
    PlayerTextDrawFont(playerid, SpeedometerPTD[6], 4);
    PlayerTextDrawSetProportional(playerid, SpeedometerPTD[6], 0);
    
    SpeedometerPTD[7] = CreatePlayerTextDraw(playerid, 510.000183, 373.733703, "Incuiata");
    PlayerTextDrawLetterSize(playerid, SpeedometerPTD[7], 0.239999, 1.390933);
    PlayerTextDrawAlignment(playerid, SpeedometerPTD[7], 1);
    PlayerTextDrawColor(playerid, SpeedometerPTD[7], -1);
    PlayerTextDrawUseBox(playerid, SpeedometerPTD[7], 1);
    PlayerTextDrawSetShadow(playerid, SpeedometerPTD[7], 0);
    PlayerTextDrawSetOutline(playerid, SpeedometerPTD[7], 0);
    PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[7], 255);
    PlayerTextDrawFont(playerid, SpeedometerPTD[7], 2);
    PlayerTextDrawSetProportional(playerid, SpeedometerPTD[7], 1);
     
    SpeedometerPTD[8] = CreatePlayerTextDraw(playerid, 492.199920, 391.693450, "hud:radar_triadsCasino");
    PlayerTextDrawLetterSize(playerid, SpeedometerPTD[8], 0.000000, 0.000000);
    PlayerTextDrawTextSize(playerid, SpeedometerPTD[8], 13.000000, 12.000000);
    PlayerTextDrawAlignment(playerid, SpeedometerPTD[8], 1);
    PlayerTextDrawColor(playerid, SpeedometerPTD[8], -1);
    PlayerTextDrawUseBox(playerid, SpeedometerPTD[8], 1);
    PlayerTextDrawSetShadow(playerid, SpeedometerPTD[8], 0);
    PlayerTextDrawSetOutline(playerid, SpeedometerPTD[8], 0);
    PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[8], 255);
    PlayerTextDrawFont(playerid, SpeedometerPTD[8], 4);
    PlayerTextDrawSetProportional(playerid, SpeedometerPTD[8], 0);
     
    SpeedometerPTD[9] = CreatePlayerTextDraw(playerid, 510.000183, 388.034576, "Kilometri:_139832");
    PlayerTextDrawLetterSize(playerid, SpeedometerPTD[9], 0.239999, 1.390933);
    PlayerTextDrawAlignment(playerid, SpeedometerPTD[9], 1);
    PlayerTextDrawColor(playerid, SpeedometerPTD[9], -1);
    PlayerTextDrawUseBox(playerid, SpeedometerPTD[9], 1);
    PlayerTextDrawSetShadow(playerid, SpeedometerPTD[9], 0);
    PlayerTextDrawSetOutline(playerid, SpeedometerPTD[9], 0);
    PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[9], 255);
    PlayerTextDrawFont(playerid, SpeedometerPTD[9], 2);
    PlayerTextDrawSetProportional(playerid, SpeedometerPTD[9], 1);
     
    SpeedometerPTD[10] = CreatePlayerTextDraw(playerid, 508.999908, 294.626770, "");
    PlayerTextDrawLetterSize(playerid, SpeedometerPTD[10], 0.000000, 0.000000);
    PlayerTextDrawTextSize(playerid, SpeedometerPTD[10], 87.000000, 76.000000);
    PlayerTextDrawAlignment(playerid, SpeedometerPTD[10], 1);
    PlayerTextDrawColor(playerid, SpeedometerPTD[10], -1);
    PlayerTextDrawUseBox(playerid, SpeedometerPTD[10], 1);
    PlayerTextDrawSetShadow(playerid, SpeedometerPTD[10], 0);
    PlayerTextDrawSetOutline(playerid, SpeedometerPTD[10], 0);
    PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[10], 0);
    PlayerTextDrawFont(playerid, SpeedometerPTD[10], 5);
    PlayerTextDrawSetProportional(playerid, SpeedometerPTD[10], 0);
    PlayerTextDrawSetShadow(playerid, SpeedometerPTD[10], 0);
    PlayerTextDrawSetPreviewModel(playerid, SpeedometerPTD[10], 411);
    PlayerTextDrawSetPreviewRot(playerid, SpeedometerPTD[10], 357.000000, 0.000000, 295.000000, 1.000000);
    PlayerTextDrawSetPreviewVehCol(playerid, SpeedometerPTD[10], 1, 1);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By St3f4n36
      Salut, nu pot sa inteleg dc cand dau /createvehicle si setez factiune, rank etc. Nu imi creaza bine vehiculele, lucrez pe gm HPQ123 si chiar imi da cu virgula. Stiti de la ce ar putea fi?
      Daca doriti va trimit comenzile din .pwn
    • By Rby Robert
      cand dau /ad pe server scriu acolo /ad Recrutez in clanul .... nu apare ad pe server apare la staff Preview ad dar pe server la playerii nu apare
      Aceasta este comanda
      YCMD:ad(playerid, params[], help) {
          if(AdTimer[playerid] != 0) return SCM(playerid, COLOR_LGREEN, "Ai pus un anunt recent. Foloseste comanda /myad pentru a-l vedea.");
          new string[264],idx;
          if(!PlayerInfo[playerid][pPhone]) return SCM(playerid, COLOR_LGREEN, "Nu ai un telefon.");
          if(PlayerInfo[playerid][pMuted] == 1) {
              format(string, sizeof(string), "You can't talk right now! You are muted. (%d seconds)",PlayerInfo[playerid][pMuteTime]);
              SCM(playerid, COLOR_GREY, string);
              return true;
          }
          if(PlayerInfo[playerid][pLevel] < 5) return SCM(playerid, COLOR_GREY, "Ai nevoie de nivel 5 pentru a da un anunt!");
          new length = strlen(params);
          while ((idx < length) && (params[idx] <= ' ')) idx++;
          new offset = idx, result[264];
          while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) {
              result[idx - offset] = params[idx];
              idx++;
          }
          result[idx - offset] = EOS;
          new totalads = TotalAds()+1;
          if(PlayerToPoint(10, playerid, BizzInfo[11][bEntranceX], BizzInfo[11][bEntranceY], BizzInfo[11][bEntranceZ])) {
              if(!strlen(result)) return SCM(playerid, COLOR_GREY, "Usage:{FFFFFF}/ad <Text>");
              if(FaceReclama(result)) return Reclama(playerid, result);
              new payout = BizzInfo[14][bFee];
              if(PlayerMoney(playerid, payout)) {
                  format(string, sizeof(string), "* Ai folosit %d caractere si anuntul costa $%s, Nu ai banii necesari", offset, FormatNumbers(payout));
                  SCM(playerid, COLOR_WHITE, string);
                  return true;
              }
              GivePlayerCash(playerid, 0, payout);
              format(string, sizeof(string), "~r~Ai platit $%d~n~~w~Mesajul contine: %d caractere", payout, idx);
              GameTextForPlayer(playerid, string, 5000, 5);
              format(AdText[playerid], 256, result);
              format(string, sizeof(string), "[PREV AD] %s ({FFFFFF}%d{00D900}): %s", GetName(playerid), playerid, result);
              SendStaffMessage(0xDE1414FF, string);
              AdTimer[playerid] = totalads*60;
              new timer;        
              timer = SetTimerEx("Advertisment", totalads*60000, 0, "d", playerid);
              SetPVarInt(playerid, "AdTimer", timer); 
              format(string, sizeof(string), "Anuntul tau va fi afisat in %d minute (%d secunde).", AdTimer[playerid]/60, AdTimer[playerid]);
              SCM(playerid, -1, string);
              BizzInfo[14][bBalance] += payout;
              new str[128];
              mysql_format(SQL,str,128,"UPDATE bizz SET `Till`='%d',`Products`='%d' WHERE `ID`='1'",BizzInfo[14][bBalance],BizzInfo[14][bProducts]);
              mysql_tquery(SQL,str, "", "");
          }
          else SCM(playerid, -1, "Nu esti la CNN.");
          return true;
      }
      function Advertisment(playerid) {
          if(IsPlayerConnected(playerid) && AdTimer[playerid] != 0) {
              new string[1024];
              format(string, sizeof(string), "Ad by %s (phone: {FFFFFF}%d{00D900}): %s",GetName(playerid),PlayerInfo[playerid][pPhone],AdText[playerid]);
              SendMessage(0x00D900FF, string);
              AdTimer[playerid] = 0;
          }
          return true;
      }
      function TotalAds() {
          new x;
          foreach(Player, i) {
              if(IsPlayerConnected(i) && AdTimer[i] != 0) x++;
          }
          return x;
      }
    • By TheGodfather
      Salut, cand dau /park, parcheaza masina corect dar daca ma uit in /v imi spune ca este "occupied" chiar daca eu nu mai sunt in ea. Ma scoate cand dau /park.
      YCMD:park(playerid, params[], help) {
          if(aspam[playerid] > 0) return SCMEx(playerid, COLOR_LIGHTRED, "[Command Anti-Spam] {FFFFFF}Wait %d seconds.", aspam[playerid]);
          new car = GetPlayerVehicleID(playerid);
          if(!IsPlayerInAnyVehicle(playerid)) 
              return SCM(playerid, COLOR_ERROR, "Error: {FFFFFF}You are not in your vehicle.");
          
          if(Iter_Count(MyVehicle[playerid]) == 0) 
              return SCM(playerid, COLOR_ERROR, "Error: {FFFFFF}You do not have a personal vehicle!");
          
          if(PersonalCar(playerid) == -1) 
              return SCM(playerid, COLOR_ERROR, "Error: {FFFFFF}You are not in one of your vehicles!");
          
          if(GetPlayerState(playerid) != 2) 
              return SCM(playerid, COLOR_GREEN, "* You need to drive the car in order to use this command!");
          new idd = PersonalCar(playerid);
          new Float: vhp;
          GetVehicleHealth(car, vhp);
          if(vhp < 800) return SCM(playerid, COLOR_GREY, "You can not park the car because it has less than 800 'health'!");
          if(PlayerToPoint(150, playerid, 564.1226, -1270.0704, 17.2477)) return SCM(playerid, COLOR_ERROR, "INFO: {FFFFFF}You can not park the car near the spawn.");
          new Float:x, Float:y, Float:z, Float:a;
          saveTuning(playerid, CarInfo[idd][Spawned]);
          GetVehiclePos(car, x, y, z);
          GetVehicleZAngle(car, a);
          CarInfo[idd][cLocationx] = x;
          CarInfo[idd][cLocationy] = y;
          CarInfo[idd][cLocationz] = z;
          CarInfo[idd][cTime] = gettime()+600;
          CarInfo[idd][cAngle] = a;
          CarInfo[idd][cVirtual] = GetPlayerVirtualWorld(playerid);
          DestroyVehicle(car);
          if(strlen(CarInfo[idd][cText]) >= 3) {
              DestroyDynamicObject(nameobject[CarInfo[idd][Spawned]]);
          }
          CarInfo[idd][Spawned] = CreateVehicleEx(CarInfo[idd][cModel],CarInfo[idd][cLocationx],CarInfo[idd][cLocationy],CarInfo[idd][cLocationz],CarInfo[idd][cAngle],CarInfo[idd][cColorOne],CarInfo[idd][cColorTwo], -1, 0);
          SetVehicleVirtualWorld(CarInfo[idd][Spawned], CarInfo[idd][cVirtual]);
          attach_vip_text(idd);
          SetVehicleHealth(CarInfo[idd][Spawned], CarInfo[idd][cVip] ? 2000 : 1000);
          SetTunning(idd);
          SetVehicleNumberPlate(CarInfo[idd][Spawned], CarInfo[idd][cLicense]);
          saveCar(idd);
          new Float: Pos[3];
          GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
          CarInfo[idd][cLastPos][0] = Pos[0];
          CarInfo[idd][cLastPos][1] = Pos[1];
          CarInfo[idd][cLastPos][2] = Pos[2];
          return true;
      }
      function IsVehicleOccupied(vehicleid) return VehicleOccupied[vehicleid] != 0 ? (true) : (false);
      stock ShowPlayerVehicle(playerid, bool: type) {
          if(aspam[playerid] > 0) return SCMEx(playerid, COLOR_LIGHTRED, "[Command Anti-Spam] {FFFFFF}Wait %d seconds.", aspam[playerid]);
          new szTitle[2000], szDialog[2000], x = 0;
          if(Iter_Count(MyVehicle[playerid]) == 0) 
              return SCM(playerid, COLOR_LGREEN, "Error: You do not have a personal vehicle!");
          
          format(szTitle, sizeof(szTitle), "Your Vehicles {E3DE31}%d/%d", Iter_Count(MyVehicle[playerid]), GetSlots(playerid));
          strcat(szDialog, "Vehicul\tStatus\tDespawn Time\tOthers details\n");
          foreach(MyVehicle[playerid], car) {
              format(szDialog, sizeof(szDialog), "%s%s\t%s\t%s\t%s\n", szDialog, aVehicleNames[CarInfo[car][cModel]-400], CarInfo[car][Spawned] != 0 ? IsVehicleOccupied(CarInfo[car][Spawned]) ? ("{FFFF00}[occupied]") : ("{26B309}[spawned]") : ("{FF0000}[despawned]"), CheckDespawnCar(car), TotalUp(car)); 
              PlayerInfo[playerid][pCarKey][x] = car;
              x++;
          }
          ShowPlayerDialog(playerid, type ? DIALOG_STICKET : DIALOG_GARAGE, DIALOG_STYLE_TABLIST_HEADERS, szTitle, szDialog, "Ok", "Exit");
          return true;
      }
    • By Rby Robert
      Salut. am bagat pe server niste filterscripts cu job-uri dar dupa ce le termin imi da banii fictiv gen imi apare in chat ca am primit imi creste suma in dreapta sus dar in /stats tot aceeasi bani ii am gen daca am 100$ tot 100$ am nu imi da bani de la job
      DisablePlayerCheckpoint(playerid);
              SendClientMessage(playerid,-1,"Ati terminat de livrat coletele si ati castigat o suma de bani,felicitari!");
              GivePlayerMoney(playerid, 500000);
              DestroyVehicle(MasinaCJ[playerid]);
      Cam asa arata liniile unde ar trebuie sa dea bani
    • By PiticuGAMER
      Salut, am luat un gm de aici si am o mica problema, am schimbat skin-uril la spawn/new account dar problema e alta, cand intru pentru prima data si ma inregistrez primesc primul skin si pentru a aparea skin-ul setat de mine trebuie sa rau reconnect, am sa va las niste poze mai jos sa va arat:
       
      Prima logare(inregistrarea): https://imgur.com/a/mFK5KV6
      Dupa de dau reconnect: https://imgur.com/a/194RzaS

      M-am tot uitat prin gm si am tot cautat rezolvare dar chiar nu am gasit ma poate ajuta cineva va rog, macar sa-mi dati si mie niste ideei de probleme si asa mai departe.
      Multumesc pentru timpul vostru!
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.