Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 31/05/19 in all areas

  1. سلام عليكم مطلوب مبرمج عنده خبره عاليه يكون قادر على برمجة اي شيء ويكون فاضي يبرمج ويساعدني وراح اعطيه 150 ريال اذا تشوف نفسك تقدر كلمني عالخاص
    2 points
  2. السلام عليكم ورحمة الله وبركاته سيرفر الاتحاد العربي لحرب العصابات المودات:- F1: عبارة عن لوحة خاصة للاعب F2: عبارة عن لوحة خاصة للشرطة F3:: تستطيع من خلال هذه اللوحة التحكم بمركباتك F4: تستطيع من خلاله تغيير الفريق الخاص بك F5: لوحة تستطيع من خلالها الحصول على المساعدة او مساعدة لاعبين اخرين F6: عبارة عن لوحة المجموعات, تستطيع من خلالها التحكم بمجموعتك او الانضمام الى مجموعة اخرى F7: عبارة عن لوحة تستطيع من خلالها االعثور على اشيائك او انشاء خواص & اشياء F9: عبارة عن لوحة الانجازات, عند اتمام انجاز تحصل على مكافئة F10: عبارة عن لوحة تستطيع مقايضة او بيع اشيائك المهمات:- توجد وظائف خاصة للشرطة والحرامية, الشرطة مثل وظيفة المحقق والحرامية مثل مهرب.. ماسح الطرق ومهمات اخرى جديدة الادارة:- 1- aLRaSHide - Bemoo261 - #,~BlaaaCK (Managers) 2- @#x1AhMeD,-09 (Developer) 3- xMahriz - #NSR (Consoles( طبعاً السيرفر ما صار له اكثر من اسبوع.. والحمدلله تخطى الـ 40 لاعب وقريباً الاصدار الجديد للسيرفر راح ينزل بعد اسبوع او اكثر.. للدخول الى السيرفر:- mtasa://46.105.250.200:22003
    1 point
  3. This isn't reportable; servers have full autonomy to add 'cheat' scripts to their server. If you see admins doing that, then it means the server owner probably added it and therefore condones that behavior. You can try complaining to the server owner, but it's not MTA's business to deal with. If complaining doesn't work and you don't like it, then i advise choosing another server to play on.
    1 point
  4. افكار قادمة لمجتمع العرب تطبيق تواصل اجتماعي جديد ( ثريد ) سيتم الاعلان عنه قريبا موقع مختلفه تماما تقدم خدمات مجانية 22 لعبتين على الجوال قادمة بافكار جديدة واخيرا ماننسى هاللعبه البطلة متجر كامل لمساعدة المبرمجين للعبه لبيع موداتهم ماباتهم الخ وسيتم تسهيل الدفع ويتم توفير تطبيق تم نشره سابقاً وحنا يامجتمع العرب مابناخذ منك ريال مقابل خدماتك اللي تنزله , كامل الربح لك بالتوفيق للجميع , وانتظرونا
    1 point
  5. outputConsole("[TOPBAR] "..text:gsub("#%x%x%x%x%x%x","")) --this is the one
    1 point
  6. where the text? the text = /changepw to change your accoutn password?
    1 point
  7. ولكم باك بالتوفيق شغل رائع اتمنى لكى التوفيق من كل قلبي
    1 point
  8. زي ما قلت لك استخدم الجداول
    1 point
  9. استعمل "onClientClick" -- clickedWorld مع بارامتر guiSetVisible -- لفتح اللوحة "onClienGUIClick" -- للضغط setPedAnimation --يسوي حركة
    1 point
  10. resource admin, complexa? paida kkkkk bom da uma olhada em resources " simples " na community sobre chat que tu acha
    1 point
  11. خطأ علي هيئة متغير المفروض تكتبة علي هيئة سلسلة نصية او تعرف المتغير rec انتا كاتب كلمة ولصاحب الموضوع استعمل التريقر في السيرفر وارسلوا للكلنت من خلال الدالة triggerClientEvent servermessages للحدث اللي اسموا
    1 point
  12. 1 point
  13. ! WARNING ! TBH WORST SERVER EVER, I DON'T RECOMMEND IT EVEN TO MY ENEMIES. OWNER IS ABUSIVE, MOST OF THE SERVER'S ACTIVE PLAYERS ARE ADMINS, EVERYONE'S CORRUPT AND MAKES NO SENSE.
    1 point
  14. @RootBey you can simply disable it with this code: addEventHandler("onClientKey", root, function(key) if key == "t" then cancelEvent() end end) OR (if you want to disable chat) you can use this code:
    1 point
  15. Here the 3D I post the model here later because is not complete.
    1 point
  16. Both are wrong, but second one is closest to right. Render targets are textures and they can be created outside onClientRender. They should be created once, and when you want to update it you should use dxSetRenderTarget(gTarget) just like you are doing (this can be called in onClientRender or outside) and then draw stuff on it just like you are doing right now and then call dxSetRenderTarget() which you are doing right. But since dxCreateRenderTarget creates a texture like dxCreateTexture does and is a dx function, you have to draw it each frame (in onClientRender), so dxDrawImage with gTarget has to be done always in onClientRender if you want it to be visible. Important notes: when the mta loses focus (alt-tab is used, etc) then render targets are cleared so they are empty, and you have to redraw everything in the render target. onClientRestore is called when mta is back in focus again and you can draw on the render target again there. onClientRestore has a parameter "didClearRenderTargets" but dont check if it's true, instead always redraw to render target when onClientRestore is called. Text may have bad quality in render targets, so you should experiment with dxSetBlendMode (look it up on mta wiki for example) for better visual quality. Another important thing to remember is that when you are drawing in render targets you cant enable postGUI (for example in dxDrawText) since then the text wont be visible in the render target, but you can draw the render target with postGUI enabled. Here is an example using your example as base: sWidth, sHeight = guiGetScreenSize() sW, sH = 105, 32 cFont = dxCreateFont("files/fonts/SegoeWPN_0.ttf", 32, false) gTarget = dxCreateRenderTarget(sW, sH, true) function updateRenderTarget() -- Set second argument to true to clear the render target -- before drawing on it. dxSetRenderTarget(gTarget, true) -- Clipping the text here using same width and height -- as the render target is not necessary, since the render target does that automatically. dxDrawText("CWS:Home", 0, 0, sW, sH, tocolor(0, 0, 255), 0.5, cFont, "center", "center") dxSetRenderTarget() end updateRenderTarget() addEventHandler("onClientRestore", root, updateRenderTarget) function testRender() dxDrawImage((sWidth/2)-(sW/2), (sHeight/2)-(sH/2), sW, sH, gTarget) end addEventHandler("onClientRender", getRootElement(), testRender)
    1 point
×
×
  • Create New...