All Activity

This stream auto-updates     

  1. Past hour
  2. I need help with Zone script and Objects!

    Next time use the code tag please. I fixed it for you now.
  3. local Z1 = createColRectangle(1577, 1723, 60, 140 ) function spawnRoadblock(id, x, y, z, rx, ry, rz, dim, int) if (not id) then return end if ( id =="" and dim == 0) then return true end if (id == 978) then z = z-1 end local accName = getAccountName(getPlayerAccount(client)) local object = createObject(tonumber(id), x, y, z, rx, ry, rz) setElementDoubleSided(object, true) setElementFrozen(object, true) setElementData(object, "creator", accName, false) roadblocks[object] = {object, getAccountName(getPlayerAccount(client))} if (tonumber(dim) ~= 0) then setElementDimension(object, dim) end if (tonumber(int) ~= 0) then setElementInterior(object, int) end if (id ~= 1225) then triggerClientEvent(client, "nobreak", client, object) end end addEvent("events.RB.AddRoadblock", true) addEventHandler("events.RB.AddRoadblock", root, spawnRoadblock) ____________________________________________________________________________________________________________________________ i want to add on it, if Client placed a Object outside Z1 it will not get placed, and if it placed inside the Z1 it will be placed, Please can someone help, and i appreciate that! thank you.
  4. Salut a tous ceux qui lise ce topic ;'D Nous recherchons des membres de préférence français pour jouer avec nous (activement si possible) sur un serveur MTA DayZ nommé NON-STOP (plus détaillé : Europe 1) Nous somme une petite bande de français qui ont une base moyenne sur ce serveur (6 exactement âgé de 16 â 35 ans pour le plus vieux) Nous possédons un discord (https://discord.gg/Eu6kCZF) communautaire (c'est a dire ils y a pas mal de gens qui joue a notre serveur sur ce discord de chaque langue , Lithuanien , Polonais etc.) Le serveur en lui même Le serveur a été crée en 2012 par un Ukrainien nommé Haron. Le serveur depuis a évolué énormement question gameplay , loot , items , optimisations et j'en passe. Des fight de clans en masse , des voiture rares et beaucoup d'autre choses comme des bots et des boss. (Si vous désirez plus de détails , rejoignez le discord.) Voici quelque photo du serveur auxquels nous jouont : http://www.mediafire.com/view/yz5y1ksir6qmklr/mta-screen_2018-02-08_00-19-59.png http://www.mediafire.com/view/iu2ltgb2mgkkxb5/mta-screen_2018-04-08_21-44-55.png http://www.mediafire.com/view/ohmz6df99wtrzaa/mta-screen_2018-02-23_21-46-45.png http://www.mediafire.com/view/fw2dz028eted48s/mta-screen_2018-02-15_19-47-35.png http://www.mediafire.com/view/g6fhbdqjihno6dr/mta-screen_2018-03-29_20-45-24.png Désolé pour cette présentation un peux pété mais si vous voulez vraiment tous les détails , rejoignez notre discord et je vous expliquerait comment marche ce serveur Bonne chance a tous et bon gameplay a tous ^.^ -JsK27ns , leader.
  5. x[ طلب مبرمج ]x

    مو علي اساس اعتزلت
  6. x[ طلب مبرمج ]x

    تواصل معي بالخاص
  7. x[ طلب مبرمج ]x

    بمقابل ؟
  8. Today
  9. MTADiag https://pastebin.mtasa.com/547026668

    I'm sorry bro, I already sent it, and now?
  10. MTA is suddenly crashed win.7 32bit

    https://upload.mtasa.com/u/183358164/private.zip_ here!
  11. function spawnRoadblock(id, x, y, z, rx, ry, rz, dim, int) if (not id) then return end if ( id =="" and dim == 0) then return true end if (id == 978) then z = z-1 end local accName = getAccountName(getPlayerAccount(client)) local object = createObject(tonumber(id), x, y, z, rx, ry, rz) setElementDoubleSided(object, true) setElementFrozen(object, true) setElementData(object, "creator", accName, false) roadblocks[object] = {object, getAccountName(getPlayerAccount(client))} if (tonumber(dim) ~= 0) then setElementDimension(object, dim) end if (tonumber(int) ~= 0) then setElementInterior(object, int) end if (id ~= 1225) then triggerClientEvent(client, "nobreak", client, object) end end addEvent("events.RB.AddRoadblock", true) addEventHandler("events.RB.AddRoadblock", root, spawnRoadblock) I need to add on this if the object was outside the Z1(Z1 is a createColTube(,...)) then it will not get places .. Any help please?
  12. Advice with tables in lua

    I wouldn't say that so quickly. To me his example looks valid. /add d six random[x] = y (or overwrite, `set` would be a better command based on it's functionality) /rem d if random[x] then random[x] = nil end
  13. مشاكل استضافة fpss مايكرو

    ونقول ولككككم باك ورجعت الاستضافة شوكريأ ي مسستر مايكروأ من يوم تقفلت وانا افرفر بالتنين ادور فيز خبري خبرك ضض وماغير ادور اف بي اس مجاني, وفججاة دخلت لقيتها رجعت من جديد .. شوكريأ الا صح سوال بسيط اي حد يشطف وعندة خبرة يفيدني اقدر اثبت سيرفر او خادم العاب على اف بي اس مجاني : D
  14. Hi, i need to do like: local Z1 = createColRectangle(1577, 1723, 60, 140 ) if object isn't inside Z1 then it don't get Placed on the map just if someone can do a small coding about how to code it ¯\_(ツ)_/¯ and i appreciate that, i just need to coding which disable the object when it outside the Z1 space. Thanks~
  15. I need help with a script.

    nevermind i fix it.
  16. x[ طلب تعديل كود ]x

    كالعادة موضوع مكرر وسبق جاوبت عليه من قبل guiGetText outputChatBox
  17. No funciona ClientTriggerEvent

    function Parada_58_a_1 (DispPasajeros) if (PasajENP_a_1 > 0) and (DispPasajeros > 0) then DispPasajeros = DispPasajeros -1 PasajENP_a_1 = PasajENP_a_1 -1 PasajSuben = PasajSuben +1 outputChatBox ("Pasajeros que suben: " .. PasajSuben, source) outputChatBox ("Pasajeros Disponibles: " .. DispPasajeros, source) setTimer ( Parada_58_a_1, 1000, 1, source, DispPasajeros) else outputChatBox ("Pasajeros Nuevos Disponibles: " .. DispPasajeros, source) timer = setTimer (greetingCommand, 500, 1, PasajSuben) --Pasa a la otra func, para realizar el Trigger Client end end addEvent( "onGreeting", true ) addEventHandler( "onGreeting", resourceRoot, Parada_58_a_1 ) function greetingCommand ( playerSource, PasajSuben ) local playerSource = getPlayerName( playerSource ) triggerClientEvent ( playerSource, "onGreeting2", playerSource, PasajSuben ) --Aca es el dato que se pasa a Cliente outputChatBox ("Pasajeros que suben: " .. PasajSuben, playerSource) end
  18. Vehicle as render target

    Hello everyone! I started to learn render targets in lua. So the question is: Can i use dxDraw functions on vehicles? I think i should apply a shaders to use it. Some people use texreplace.fx for drawing. As i know, this people create a render target, draw some stuff on it, get pixel colours and apply a texture on the vehicle with shaders. Is there any other ways? Maybe i can draw text/images directly on vehicle texture (i added special texture to car called "bodytex" for this action) somehow\\\ Applying shaders each time reflects on perfomance a lot
  19. [HELP] Resource Protection

    Hello, I made a script that encodes the files: PNG, DFF etc. For this I used: teaEncode( base64Encode( data ), key ) fileOpen, fileDelete, fileRead, fileCreate etc. I need the user to download coded files into the cache, decode and load into memory, and then encode again. That is, so that as a result, the resources are coded in the cache and the user could not decode them without a key that is known only to me. But I'm faced with a problem, I do not know how to make sure that after connecting to the server and downloading the resources, the necessary files are decoded and loaded into memory, and then again coded. Who knows how to crank it?
  20. No funciona ClientTriggerEvent

    Al momento de dirigir un dato al servidor funciona todo bien, el caso es cuando al modificar ese valor y devolverlo otro con ClientTrigger, no funciona o por alguna razón no se activa. Client Side (NOTA: La function greetingHandler, el outputChatBox no aparece) function greetingCommand ( Parada01_Ramal_a ) if timer then killTimer(timer) timer = nil end if (actualspeed) <= 20 then veh = getPedOccupiedVehicle( localPlayer ) outputChatBox ("Disponibilidad:" ,255,0,0, true); outputChatBox (DispPasajeros ,255,0,0, true) triggerServerEvent ( "onGreeting", resourceRoot, DispPasajeros ) ---La disponibilidad es el valor que modifico en el servidor end end function greetingHandler ( PasajSuben ) ---Pasajeros Suben, es el valor modificado gracias a la disponibilidad (Y que necesito de vuelta en cliente) CantPasajeros = CantPasajeros + PasajSuben --- Sumo al total con ese dato outputChatBox ("CantidadNueva:" ,255,0,0, true); outputChatBox (CantPasajeros ,255,0,0, true) end addEvent( "onGreeting2", true ) addEventHandler( "onGreeting2", localPlayer, greetingHandler ) Server Side (NOTA: La idea era que con el ELSE que verán a continuación ya devuelva el dato, pero no encontraba la forma de hacerlo) ¿habría una forma de integrar el trigger a la func Parada_58_a_1? function Parada_58_a_1 (DispPasajeros) if (PasajENP_a_1 > 0) and (DispPasajeros > 0) then DispPasajeros = DispPasajeros -1 PasajENP_a_1 = PasajENP_a_1 -1 PasajSuben = PasajSuben +1 outputChatBox ("Pasajeros que suben: " .. PasajSuben, client) outputChatBox ("Pasajeros Disponibles: " .. DispPasajeros, client) setTimer ( Parada_58_a_1, 1000, 1, DispPasajeros) else outputChatBox ("Pasajeros Nuevos Disponibles: " .. DispPasajeros, client) timer = setTimer (greetingCommand, 500, 1, PasajSuben) --Pasa a la otra func, para realizar el Trigger Client end end addEvent( "onGreeting", true ) addEventHandler( "onGreeting", resourceRoot, Parada_58_a_1 ) function greetingCommand ( playerSource, commandName ) local playerSource = getPlayerName( playerSource ) triggerClientEvent ( "onGreeting2", playerSource, PasajSuben ) --Aca es el dato que se pasa a Cliente outputChatBox ("Pasajeros que suben: " .. PasajSuben, client) end Gracias!
  21. sOrry باللتوفيق ي مبددعين وعندي اقتراحات بسيطة الا وهي تواجد الدعم بشكل مستمر, + وفي ثغرة ب x مادري عارفينها ولا لو تمشي فوق ماركر سياارات وانت متعلق فوق سيارة شخص ثاني راح تنزل سيارة تتحكم بها وانت مو داخلها
  22. Code43 Crash

    Hi Folks! Today I tried to connect to the server where I play daily, and for now I receive a fatal error: "Disconnected CD43" I couldn't find any solution, so hopefuly someone can help me! Thanks in advance!
  23. "Help" I need Developer or Scripter

    i think it's the wrong section
  24. sqlite COUNT

    bump
  25. Global Banned - unbanned me!!

    serial is : FA6F3E8B9BB6D51BDFAF2A50D676D0B2
  26. attempt to index field '?' (a nil value)

    Cette erreur signifie que l'index auquel tu essayes d'accéder n'existe pas dans le tableau BANK_ACCOUNTS. Essaye de vérifier la valeur id ainsi que le contenu de BANK_ACCOUNTS au moment de l'appel.
  1. Load more activity