Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/10/18 in all areas

  1. الدنيا دي بتحترم بس الي عندوووا فلووووووووووووووووووس
    2 points
  2. وش الصعب بالموضوع علشان يقلدوه ??
    2 points
  3. This happened before, one of his earlier topics got locked with a mention of the section guidelines. He can no longer post in here for a while, and all his topics in this section were locked at once.
    2 points
  4. Hello I am a web developer! I am a fan of MTA SA But when you see their website you find it very old and works on techniques that are no longer used in our time ? I can support the work of a new website free of charge That's my love at MTA SA This is a preview of something simple Redesign a small part of the home page Experience the design Multi Theft Auto - Redesigning
    1 point
  5. 1 point
  6. 1 point
  7. 1 point
  8. You ** انت الحب ض2 طبعا مافي اخ ينسى اخوه
    1 point
  9. كويس حليت مشكلتك مع الوزارة بالنهاية كلنا مسلمين وبالتوفيق لك ما تنسانا ابقى كلمني
    1 point
  10. مستر موسي انا من نحيتي ما شفت سيرفر فيه ابداع الي حقق والوزارة
    1 point
  11. صح انا نفس كلام كيلر قول انت عاوز تعمل ايه وهفهمك كل حاجة واعلمك السكل
    1 point
  12. الله ياخذ عمري علي العيساوي اعتقد الاغنية من 2009 اظن ان الكثير اذ سمعها راح يتذكر النغمة الي بالبداية
    1 point
  13. علي كذا مافيه احد مابيرد, الكل بيرد ع الموضوع
    1 point
  14. Depure o código, lembre-se de ativar sempre o debugmode com o comando debugscript 3. Veja o meta.xml, o client-side (com funções destacadas em vermelho) deve ser do lado client e o outro código server. Use mensagens e veja o que mostra no chat: function duvida() outputChatBox("@onClientResourceStart : função 'duvida'") botao = guiCreateButton(514, 334, 158, 75, "duvida", false) if botao then outputChatBox("botão criado!") end addEventHandler("onClientGUIClick", botao, execucao, false) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), duvida) function execucao() outputChatBox("o botão foi clicado!") if triggerServerEvent("duvida", getLocalPlayer()) then outputChatBox("Evento chamado!") end end Server function duvida() outputChatBox("Função server-side chamada!") end addEvent("duvida", true) addEventHandler("duvida", getRootElement(), duvida)
    1 point
  15. وش ذي ؟؟ ما في تحقق اصلا
    1 point
  16. Vez ese cero al final de la función? Cambia eso a "1". Sintaxis: setTimer(function, tiempo, cuantas veces se ejecuta). Si pones 0 será infinito y deberás detener el timer con killTimer si lo tienes asignado a una variable. Por otro lado, te noto que si debes reiniciar un recurso al iniciarlo, quizá haya algo que no esta funcionando como debería o debería realizar cierta acción luego de cierto dado tiempo. Suerte!
    1 point
  17. Yeah this is my help, i'll not give you a code unless you pay me, i'm not your slave or anything like this This forum changed a lot
    1 point
  18. عشان ما ازيد مشاركاتي بدون فايدة على موضوع واحد
    1 point
  19. Qual dificuldade exatamente? O código aí tá certo, pra passar uma informação é só usar os argumentos no triggerServerEvent. Exemplo: function execucao() triggerServerEvent("duvida", getLocalPlayer(), math.random(100) ) end Server: function duvida( valor_aleatorio ) outputChatBox("Número gerado pelo client: ".. tostring(valor_aleatorio)) end addEvent("duvida", true) addEventHandler("duvida", getRootElement(), duvida)
    1 point
  20. Why? Better wait always minutes before game? (Meaning with low internet players, not everybody have gigabit internet )
    1 point
  21. Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=13912 Functionality: Remove all existing vehicles or those near you only - Use /deletevehicles to destroy all unoccupied (empty) vehicles on the whole server. (by default limited to 'Admin' ACL users, you can change or remove this limitation) - Use /deletenear to destroy all NEAR empty vehicles (in a close range to you, the command user) *useful to clear spammed/stuck-in-eachother vehicles quickly or clear up a place with many abandoned cars, simply go there with your ped and clear it up by /deletenear. (by default limited to 'Moderator' ACL users) Comes handy when your gamemode for example, has no automatic abandoned vehicles cleanup timer/mechanism and you want to do it occasionally, like to save up server RAM or syncer performance (high counts of abandoned loose vehicles around SA will take a toll)
    1 point
  22. tbl = {"function", "local", "if", "elseif", "else", "then", "end", "print", "math.random", "math.max"} local text = [[function test() local x = 2 if x == 2 then print(x) math.random(1, 10) math.max(2, 9, 1, 4) end end]] addEventHandler("onClientRender", root, function() local color = "#FFFFFF" for i,v in ipairs(tbl) do if text:find(" "..v) or text:find(v.." ") then if i > 0 and i <= 7 then color = "#0000FF" elseif i > 7 then color = "#A6E22D" end text = text:gsub(v, color..v.."#FFFFFF") end end dxDrawText(text, 15, sh/3,_,_,_, 2, "default-bold", "left", "top", false, false, false, true) end)
    0 points
×
×
  • Create New...