Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 25/03/18 in Posts

  1. Hello. This is my new custom window system with widgets. Just rewrited window system, including this custom GUI widgets: - Scroll Panes - Buttons (+ buttons with images) - Progress Bars (automatic checking for vertical or horizontal using its size, square is horizontal) - Scroll Bars (same as progress bars) - Custom Themed Edit Boxes, Memo Boxes, new widget - Number Boxes (support mouse scrolling) - Check Boxes - Combo Boxes - Tab Panel with tabs - Labels - Dialog Boxes - Tooltips - Loading Circles - Table Views (Grid Lists) Here I've just used only OOP coding style, just copy this one lua file in your projects, and start this resource automatically, because this file getting directories from main resourcename, and using files without copying. Screenshots Video: Example - Login Panel. Author - Estet (DK). Tutorial of installation: Download (GitHub) Wiki Documentation Thank you.
    3 points
  2. @Vuzimir This is what I get for trying to help you? Really? REALLY? Don't get paranoid, I have already more than enough posts and I am replying to YOU in MY FREE TIME. You are not even editing the z offset. It is set to 0. So then why would yours look so :~ty? The only thing I can think of, is either your shader file or your GPU. But if you have edited it, then it is really stupid to post code where it is not edited. dxSetShaderTransform ( myShader4, -30, 0, -2.7, 0, 0, 0, false, 0, 0, false) bool dxSetShaderTransform ( element theShader, float rotationX, float rotationY, float rotationZ, [ float rotationCenterOffsetX = 0, float rotationCenterOffsetY = 0, float rotationCenterOffsetZ = 0, bool bRotationCenterOffsetOriginIsScreen = false, float perspectiveCenterOffsetX = 0, float perspectiveCenterOffsetY = 0, bool bPerspectiveCenterOffsetOriginIsScreen = false ] )
    2 points
  3. Hello, I started to get that error thing today,there is the screenshot of error on below. It says ''Unknown software extension in the application(0xe06d7363) exception occured,location 0x7622c54f. https://imgur.com/a/JnWJ4 Also here is my pastebin file if it's needed. https://pastebin.mtasa.com/546834728
    1 point
  4. السلام عليكم ورحمة الله وبركاته كيف الحال !؟ عساكم طيبين ^.^ المهم ... نظرا لكثرة الأشخاص الذين طلبوآ مني شرح قواعد البيانات تم عمل الشرح بفيديو مبسط وسهل يشرح آلية حفظ شيء واستعادته من القاعدة .! لمشاهدة الشرح : يستحسن المشاهدة من اليوتيوب لـتفهم الشرح اكثر .! رابط تحميل السكربت اللي طبقت الشرح عليه بأسفل الفيديو ^ في أمان الله ... اخوكم مستر جراند
    1 point
  5. Please download and run MTADiag and follow the instructions. Post any Pastebin URL MTADiag gives you in this topic @LookaT
    1 point
  6. meta.xml: <meta> <info name="changenick" author="Gamesnert" type="script" version="0.9.0" description="This resource change nick to account when player login"/> <script src="changenick_s.lua" type="server"/> </meta> Lua: addEventHandler ( "onPlayerLogin", root, function (_, theCurrentAccount ) setPlayerName ( source, getAccountName(theCurrentAccount) ) end) Edit : am sorry but it works now , ive forgot to upgrade the Resource Thank you very much to help me with this script , i really appreciate it i will upload it to community and give you credit for it if you dont mind
    1 point
  7. Show me the lua file and the meta.xml file.
    1 point
  8. @*RayaN-Alharbi. تستخدم الوظيفة هذي https://wiki.multitheftauto.com/wiki/GetElementsWithinMarker وتجيب اول لاعب getElementsWithinMarker ( theMarker ) [ 1 ] isElement ^
    1 point
  9. تأكد ان القيمود مضاف لللاسل
    1 point
  10. هات السيرفر كآملآ .
    1 point
  11. 1 point
  12. - ( local Player = getLocalPlayer ( ) ) معرف يعني كذا ( Player ) سطر ٧ تأكد إن ال - تاكد إن في إيفنت لما تضغط ع الزر - هات كود سيرفر
    1 point
  13. The very basic shader works perfect for me: dxSetShaderTransform (mapShader, 0, -60, rotation) texture gTexture; technique IIYAMA { pass P0 { Texture[0] = gTexture; } }
    1 point
  14. #| اليوم جايب لكم مود حماية الاماكن من داخل السيرفر |# ~~( مميزات المود )~~ ~( يمكنك عمل جميع انواع الحمايات من داخل السيرفر [ حماية من الاسلحة فقط , حماية من السيارات فقط , حماية من السيارات و الاسلحة ] وبس )~ ~( يحفظ على قاعدة بيانات لو طفيت السيرفر وشغلته ما تروح الحماية )~ ~( يمكنك حذف الحماية في اي وقت )~ ~( يمكنك روئية شكل ماركر الحماية قبل تشغلها )~ ~~( شرح الاستخدام )~~ ~( [ F8 ] من [ pl ] كلمة فتح الوحة الحالية )~ ~( [ Settings_Server.lua ] من ملف [ F8 ] لتعديل كلمة فتح الوحة من )~ ~( [ Settings_Server.lua ] لتعديل سريالات التي تفح لهم الوحة )~ ~~( ملاحظات )~~ ~( يب وضع المود بقروب الادمن والا حذف الحماية لن يعمل )~ ~~( للتواصل معي )~~ ~( Facebook : MR.Mosa )~ ~( WhatsApp : +972056997271 )~ ~~( انواع الحماية )~~ ~~( فيدو بسيط للشرح , اسف على الجودة )~~ ~~( لتحميل المود )~~ ~~[( [ واخيرا للتحميل اضغط على : [ سبحان الله )]~~
    1 point
  15. @Randesady I know you fixed it already but your example works if you remove the return false statement and the return true in the else block. When you return something within a loop you'll also break the loop so that's why it never goes past the 1st iteration.
    1 point
  16. You do not have to write the loop yourself. Add the custom function I wrote for you on top of your script. function isElementWithinMarkers (element, markers) for i=1, #markers do if isElementWithinMarker(element, markers[i]) then return true end end return false end And just apply this part: function RepairVehicle( hitPlayer, matchingDimension ) if hitPlayer == getLocalPlayer() and matchingDimension == true then local theVehicle = getPedOccupiedVehicle( getLocalPlayer() ) local VehicleHealth = getElementHealth( theVehicle ) local RepairHealth = math.floor( VehicleHealth ) function Repair() --if isElementWithinMarker( getLocalPlayer(), RepairMarker[1] ) then -- old -- >>>>>>>>>>>>>> if isElementWithinMarkers( getLocalPlayer(), RepairMarker ) then -- new -- <<<<<<<<<<<<<< if RepairHealth < 1000 then RepairHealth = RepairHealth + 1 setElementHealth( theVehicle, RepairHealth ) else fixVehicle( theVehicle ) playSFX( "script", 11, 1, false ) end else killTimer( RepairTimer ) end end if VehicleHealth < 1000 then RepairTimer = setTimer( Repair, 100, 1001 - math.floor( VehicleHealth ) ) end end end
    1 point
  17. Create a new text file (simply .txt with notepad) named "debug" in MTA installation folder (e.g C:\Program Files (x86)\MTA San Andreas 1.5 > debug.txt) Now when the game freezes, hold CTRL left + CTRL right simultaneously. This will force a crash, and if you provide us with the crashdump then we can retrace what caused the freeze. After it crashed, go to C:\Program Files (x86)\MTA San Andreas 1.5\MTA\dumps\private and zip up its contents (or just send the latest dated .dmp file). Upload it to https://upload.mtasa.com and share the link in this topic please @LookaT
    1 point
  18. صراحة كنت بجي القطب الجنوبي عادي بس اول ما سمعت اسم الكهف كنسلت ههههههههههههه
    1 point
  19. Not tested, if you get any errors. just reply. function respawnHandler(keyPresser) spawn(keyPresser) unbindKey(keyPresser, "r", "down", respawnHandler) end addEventHandler("onPlayerWasted", root, function() bindKey(source, "r", "down", respawnHandler) end )
    1 point
  20. Then use this code to block rhino. No one would be able to use the rhino on your server. local blockedVehicles = {[432] = true} function blockEnterOnBlockedVehicles(player, seat, jacked) local model = getElementModel(source) if isElement(source) and getElementType(source) == "vehicle" and (model and blockedVehicles[model]) then if isElement(player) and getElementType(player) == "player" and seat == 0 then cancelEvent(true, "blockedvehicle") outputChatBox("You cannot enter blocked vehicles.", player, 255, 0, 0, false) end end end addEventHandler("onVehicleStartEnter", getRootElement(), blockEnterOnBlockedVehicles)
    1 point
  21. السلام عليكم اليوم قررت اترك mta + البرمجة واشوف حياتي واجيب جهاز جديد والعب العاب غير اللعبة هي ضيعتلي وقتي وفلوسي وانصح اي واحد لازال فيها يتركها من الحين + مافي احتمالية رجوعي يلا ومع السلامة 2014 - 2018
    0 points
×
×
  • Create New...