Jump to content

Recommended Posts

Cat de mult ajuta iteratorii la optimizare? Daca vreau sa trec tot ce este posibil (admini/helperi/lideri/membri/cei cu cont premium/vip/etc.) pe iteratori pe gm burned original cat ar ajuta?

Edited by NERS

Share this post


Link to post
Share on other sites

In general te-ar ajuta, acum nu stiu exact cat de mult te-ar ajuta la admini si toate cele. Dar in mod cert la vehicule, jucatori, timere YSI te ajuta enorm.

  • Thanks 1

Share this post


Link to post
Share on other sites
Acum 22 minute, NERS a spus:

Cat de mult ajuta iteratorii la optimizare? Daca vreau sa trec tot ce este posibil (admini/helperi/lideri/membri/cei cu cont premium/vip/etc.) pe iteratori pe gm burned original cat ar ajuta?

Ajuta mult iteratorii, insa sa nu crezi ca daca ai iteratori la orice actiune ai un gm optimizat. 

Eu personal iti recomand sa folosesti iteratori si la intrare in vehicule. Sa calculezi fiecare string si sa economisesti cat mai multa momorie.

Alege variantele de switch in loc de if.

Foloseste variabile normale decat array-uri.

Foloseste define in loc de enum.

S.A.M.D 

+1 daca consideri ca te-am ajutat :D

  • Thanks 1

Share this post


Link to post
Share on other sites

Am inteles, multumesc pentru raspunsuri!

atunci cred ca o sa fac doar pt admini, helperi si lideri

Share this post


Link to post
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
Reply to this topic...

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

Sign in to follow this  

  • Similar Content

    • By SQRIN
      Salut ma baieti vin si eu aici cu un mic - medium edit la gamemode-ul (bere-rece)
      Rezolvate in mare parte toate bugurile
      Adaugat cate ceva prin el
      AntiCheats imbunatatit.
      Este un gamemode gasit in pc ..
      Am lucrat pe el acum ceva timp
      Ofer servici scripting
      ------------------------
      Link prezentare: 
       
      Link Virustotal: https://www.virustotal.com/gui/url/9d454792e8bf3ebbb4478dc5c4a62a63be81fe4139ebdc112fa203a99adf91b5/detection
      Link download gamemode: https://www.mediafire.com/file/jr3sji2pxa4lt3q/gm_by_sorinadv.rar/file
      Credetile sunt lasate in gamemode !
    • By MaryusMty
      Username: MaryusMty Nume gamemode: LEAK RPG Creator (sau editor): Edison  , MaryusMty & Hanako  (Mapper : SmacK/zeoKv2) Poze/Video în care prezinți modul de joc:  Link Virustotal: https://www.virustotal.com/gui/url/d24e7faff9863cb5584adb4bcfb4fcf45da519b2cd7b8e7f97f186b413653a39/detection Link download: https://www.mediafire.com/file/5uekc7rb4yozxta/gm_leak.rar/file Link download systems.inc bun :  https://www.mediafire.com/file/993pw3pc6s6rqro/systems.inc/file Alte precizări:    Panel: in videoclip apare si un panel editat de la wCode Cyan pe acela il vand aveti discordul in descriere puteti sa-mi lasati PM pentru el.
      Update (leak.ro) v.1.33 beta
      a fost schimnat jobul de drugs dealer [/startcut] -> [/changeplant] -> daca nu reusesti in 160 sec primesti Wanted 3
      a fost implementat sistemul de jobgoal 
      a fost adaugat mapping in zona de cumparare a voucheru-lui
      a fost adaugat sistemul de voucher 
      a fost reparat bugul cu uber
      a fost alocat un server privat pentru testarea noilor sisteme 
       
      Update (leak.ro) v.1.32
      job implementat [Cultivator - castig de minim 230k/min] 
      reparate bugurile de la job-ul nou [Cultivator] 
      getgift mutat pe insula
      adaugata mapa event HNS 
      rezolvate toate bug-uriile de la job-uri
      rezolvat bugul cu trade in banca / faction hq [depozitai banii cand erau in trade]
      adaugata misiune speciala [/gps -> los santos -> mission place]
      Update (leak.ro) v.1.31
       a fost adaugat crate 
       a fost schimbat logo-ul
       rezolvate unele bug-uri
       a fost schimbat spawn-ul
       a fost adaugat glovo/uber (scos pizza si taxi)
       a fost adaugata comanda /bonus 
       a fost adaugat mai mult mapping la spawn
       scos mapping-ul de la plaja
       a fost adaugat rentcar pe dialog
       acum nu mai poti da /fare ca si Paramedic
       acum scade fuel-ul la motociclete
       au fost adaugate Leak Points 
       rezolvat bug-ul la Car Jacker (te puteai urca in masina de PD si sa o furi)
       shop-ul a fost modificat
    • By Clauziu La
      Salut, am si eu o problema la sistemul de trade de pe gm-ul burned editat de @SkillZ_IT.
      la comanda /trade https://imgur.com/a/J4x55xY ce-l care este pozitionat in partea dreapta nu poate sa apese pe butonul adauga, butonul pregatit functioneaza dar ce-l de adauga nu
      -am incercat sa schimb level m-am uitat prin gm la comenzi am incercat cu alti playeri alte conturi si tot nu merge , inca o problema ar fi ca nu poti sa inchizi acel sistem de trade
      Repet problema o are doar ce-l care e afisat in partea dreapta , persoana care a acceptat trade-ul ce-l care invita poate sa adauge bunuri fara problema
      As dorii ca sa mearga adauga la amandoi daca intelegeti ce zic.
    • By ValentinB
      Salut! Ma numesc Valentin si am revenit cu o noua prezentare, probabil putini stiti eu am mai prezentat doua joburi "Bus Driver" "Tram Driver", ei bine, astazi o sa va prezint jobul "Pilot".
      Informatii job: Acest job ruleaza pe gamemode burned, tot ce trebuie sa faci in acest job este sa dai /getjob /work si sa pilotezi avionul la toate destinatiile cerute (Aeroport San Fierro, Aeroport Los Santos, Aeroport parasit LV si in final Aeroport Las Venturas pentru a primi salariul). Jobul este localizat in orasul Las Venturas.
      Informatii suplimentare "In topicul gamemode-uri daca cautati puteti gasi un Gamemode Burned, editat de mine, numite Orange Play. In el ca joburi suplimentare gasiti Bus Driver si Postas. Probabil pe viitor o sa pun un update al gamemode-ului cu ce am mai adaugat + jobul Tram Driver si Pilot.
      Prezentare job Pilot: 
       
    • By NewTon
      Cine poate sa imi explice va rog cum pot sa rezolv erorile astea de la pawno/include si de ce imi apar: 
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(403) : error 017: undefined symbol "GetPlayerCash"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3514) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3515) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3516) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3517) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3518) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3521) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3522) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3523) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3524) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3525) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3528) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3529) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3530) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3531) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3532) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3533) : error 017: undefined symbol "CreateVehicleEx"
      D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3534) : error 017: undefined symbol "CreateVehicleEx"
      Liniile:
      function Update(playerid, type) {
          if(IsPlayerConnected(playerid)) {
              new var[356];
              switch(type) {
      /*(aici e linia 403) */   case pCashx: format(var, sizeof(var), "UPDATE `users` SET `Money`='%d' WHERE `ID`='%d'",GetPlayerCash(playerid), PlayerInfo[playerid][pSQLID]); 
      /*(de aici incepe linia 3512)*/  function LoadVehicles() { 
          // BIKE SPAWN CIVIL
          CreateVehicleEx(510, 1777.1678, -1863.7816, 13.1945, 0.0000, -1, -1, 300);
          CreateVehicleEx(510, 1773.8069, -1863.7816, 13.1945, 0.0000, -1, -1, 300);
          CreateVehicleEx(510, 1770.1465, -1863.7816, 13.1945, 0.0000, -1, -1, 300);
          CreateVehicleEx(510, 1766.3438, -1863.7816, 13.1945, 0.0000, -1, -1, 300);
          CreateVehicleEx(510, 1762.4796, -1863.7816, 13.1945, -0.0600, -1, -1, 300);
          
          //
          CreateVehicleEx(487, 1336.4161, 1683.2526, 11.0635, -90.5400, -1, -1, 300);
          CreateVehicleEx(519, 1286.4354, 1323.8599, 11.9768, -87.1200, -1, -1, 300);
          CreateVehicleEx(519, 1286.6686, 1362.3014, 11.9768, -88.2000, -1, -1, 300);
          CreateVehicleEx(577, 1579.6351, 1191.5293, 10.6668, 0.0000, -1, -1, 300);
          CreateVehicleEx(511, 1508.2938, 1845.1360, 12.5783, -178.3199, -1, -1, 300);
          //
          LCS[0] = CreateVehicleEx(556, -2017.9601, -150.0044, 35.6249, 91.1400, -1, -1, 300);
          LCS[1] = CreateVehicleEx(556, -2017.9299, -157.4881, 35.6249, 91.1400, -1, -1, 300);
          LCS[2] = CreateVehicleEx(556, -2017.7510, -165.4162, 35.6249, 91.0200, -1, -1, 300);
          LCS[3] = CreateVehicleEx(556, -2017.8575, -173.4965, 35.6249, 89.1000, -1, -1, 300);
          LCS[4] = CreateVehicleEx(556, -2017.9636, -182.3769, 35.6249, 91.1400, -1, -1, 300);
          LCS[5] = CreateVehicleEx(556, -2017.6498, -190.5689, 35.6249, 91.1400, -1, -1, 300);
          LCS[6] = CreateVehicleEx(556, -2017.4580, -199.8871, 35.6249, 91.1400, -1, -1, 300);
          LCS[7] = CreateVehicleEx(556, -2017.3839, -209.1279, 35.6249, 90.9000, -1, -1, 300);
          LCS[8] = CreateVehicleEx(556, -2017.4465, -218.0090, 35.6249, 91.1400, -1, -1, 300);
          LCS[9] = CreateVehicleEx(556, -2017.2128, -226.2559, 35.6249, 89.9400, -1, -1, 300);
          LCS[10] = CreateVehicleEx(556, -2091.8369, -110.3988, 35.6249, 180.3000, -1, -1, 300);
          LCS[11] = CreateVehicleEx(556, -2082.2122, -110.7903, 35.6249, 180.0000, -1, -1, 300);
          LCS[12] = CreateVehicleEx(556, -2071.9854, -110.7488, 35.6249, 178.2600, -1, -1, 300);
          LCS[13] = CreateVehicleEx(556, -2061.6040, -110.9475, 35.6249, 180.1200, -1, -1, 300);
          LCS[14] = CreateVehicleEx(556, -2088.6765, -147.6316, 35.6249, -89.7600, -1, -1, 300);
          LCS[15] = CreateVehicleEx(556, -2089.0078, -156.0975, 35.6249, -89.7600, -1, -1, 300);
          LCS[16] = CreateVehicleEx(556, -2089.2251, -165.2786, 35.6249, -89.7600, -1, -1, 300);
          LCS[17] = CreateVehicleEx(556, -2089.3501, -174.3576, 35.6249, -89.7000, -1, -1, 300);
          LCS[18] = CreateVehicleEx(556, -2089.3503, -183.8870, 35.6249, -89.7000, -1, -1, 300);
          LCS[19] = CreateVehicleEx(556, -2089.3333, -193.7158, 35.6249, -89.5800, -1, -1, 300);
          LCS[20] = CreateVehicleEx(556, -2089.2910, -202.3554, 35.6249, -89.6400, -1, -1, 300);
          LCS[21] = CreateVehicleEx(556, -2089.1106, -210.3997, 35.6249, -89.6400, -1, -1, 300);
          LCS[22] = CreateVehicleEx(556, -2089.1907, -219.7027, 35.6249, -89.6400, -1, -1, 300);
          LCS[23] = CreateVehicleEx(556, -2089.2075, -228.7814, 35.6249, -88.4400, -1, -1, 300);
          LCS[24] = CreateVehicleEx(556, -2031.6254, -273.4817, 35.6249, -1.1400, -1, -1, 300);
          LCS[25] = CreateVehicleEx(556, -2040.0885, -273.2872, 35.6249, -1.4400, -1, -1, 300);
          LCS[26] = CreateVehicleEx(556, -2048.5757, -273.0646, 35.6249, -1.2000, -1, -1, 300);
          LCS[27] = CreateVehicleEx(556, -2057.3315, -273.4576, 35.6249, 0.6600, -1, -1, 300);
          LCS[28] = CreateVehicleEx(556, -2066.1663, -273.0640, 35.6249, 1.5000, -1, -1, 300);
          LCS[29] = CreateVehicleEx(556, -2074.6582, -273.4738, 35.6249, 1.5000, -1, -1, 300);
          LCS[30] = CreateVehicleEx(556, -2041.6499, -117.8520, 35.6249, 91.1400, -1, -1, 300);
          LCS[31] = CreateVehicleEx(556, -2035.2406, -125.6532, 35.6249, 181.5000, -1, -1, 300);
          LCS[32] = CreateVehicleEx(556, -2021.3992, -125.3094, 35.6249, 181.5000, -1, -1, 300);
          LCS[33] = CreateVehicleEx(556, -2015.4283, -109.6559, 35.6249, 181.5000, -1, -1, 300);
          LCS[34] = CreateVehicleEx(556, -2028.0840, -125.5793, 35.6249, 181.5000, -1, -1, 300);
          LCS[35] = CreateVehicleEx(556, -2021.7065, -273.6810, 35.6249, -1.0800, -1, -1, 300);
          LCS[36] = CreateVehicleEx(556, -2082.8765, -273.3257, 35.6249, 1.5000, -1, -1, 300);
          LCS[37] = CreateVehicleEx(556, -2089.4316, -238.3848, 35.6249, -88.4400, -1, -1, 300);
          LCS[38] = CreateVehicleEx(556, -2088.7549, -138.6296, 35.6249, -89.7600, -1, -1, 300);
          LCS[39] = CreateVehicleEx(556, -2089.4783, -246.9242, 35.6249, -88.4400, -1, -1, 300);
          LCS[40] = CreateVehicleEx(556, -2089.3982, -255.9543, 35.6249, -83.2200, -1, -1, 300);
          LCS[41] = CreateVehicleEx(556, -2017.9640, -142.5152, 35.6249, 89.7000, -1, -1, 300);
          LCS[42] = CreateVehicleEx(556, -2017.4371, -234.6060, 35.6249, 89.9400, -1, -1, 300);
          LCS[43] = CreateVehicleEx(556, -2017.5999, -243.7596, 35.6249, 89.9400, -1, -1, 300);
          LCS[44] = CreateVehicleEx(556, -2018.0402, -253.2355, 35.6249, 89.9400, -1, -1, 300);
          for(new v = 0; v < 45; v++) SetVehicleVirtualWorld(LCS[v], 556);
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.