Jump to content

mouamle

Members
  • Posts

    303
  • Joined

  • Last visited

Everything posted by mouamle

  1. نسيت اقره القوانين المره الجايه استخدم لهجتي :3
  2. I'm not trying to show off But as i said in the last reply ما احاول اتباهى بس لهجتي مو الكل يفهمها والانگليزي اي شخص يگدر يترجمه ._.
  3. Well because I'm from iraq You will have a hard time trying to understand what i wrote .. at least English is translatable اني عراقي واذا حچيت بلهجتي مراح تفهمني على الاقل الانگليزي تگدر تترجمه وتفهمه ?
  4. I'm working on a method to parse the parameters automatically .. that would save me alot of time The same goes for colouring the functions .. just have to find a way to add the keywords to the syntax highlighter :3 Forgot to mention the program is written in Java.
  5. كثير ناس ما حافظين الفنكشنات .. والمحرر القديم توقف الدعم له ف قررت اسوي محرر بنفسي صور من المحرر باقيلي Syntax highlighting - تلوين الفنكشنات اضافة البرامترات اضافتهن تلقائئيه كل ما تجي فنكشن جديده بالويكي بس تحدث البرنامج يجيبلك كل الفنكشنات Source code soon :3
  6. Oh nevermind guys i did it using Jsoup pastebin.com/vnPwZskw
  7. That would just return the function name not it's args
  8. Hi i'm working on a script editor for mta. The first problem was that i don't have the time to copy and paste all the functions syntax and the return type and the extra info And web scraping did not work for me ( you can check it yourself ) is there a way to get them? The Script editor will be written in Java and it will be open source once i have this problem solved :D. Thanks <3.
  9. ;-; كل شي هنا github
  10. math.random(min, max)
  11. كلينت وبرامتر سيرفر؟؟, وما اشوف له داعي الجدول لأنك بتاخذ القيمه الأولى م فرقت مدري بس هذا اللي متعود عليه
  12. وش تعني النقاط في كودك ممكن تشرحه ؟ تيبل من الأركمنتات
  13. كوده اسهل بكثير اكتب باف 8 playsound mezo playsound azooz playsound اسم ملف الاغنية يب
  14. addCommandHandler( "playsound", function ( sender, command, ... ) local args = { ... } playSound( args[1] .. ".mp3") end ) /playsound filename
  15. عندك مود مسوي حمل على السيرفر
  16. Client local sx, sy = guiGetScreenSize () function notify(x, y, w, h, Title, text, fadeTime) local sx, sy = guiGetScreenSize() local tempTextTable = {} local tempText = "" local isShowing = false; local Alpha = 255; local Alpha2 = 180; for token in string.gmatch(text, ".") do table.insert(tempTextTable, token) end local int = 0; for k,v in pairs(tempTextTable) do if ( string.len(tempText) * 10 > w ) then if ( int == 0 ) then tempText = tempText .. "\n" int = 1; end end tempText = tempText .. v; end local notify = { draw = function () dxDrawRectangle( x, y, w, h, tocolor(0, 0, 0, Alpha2) ) -- main dxDrawText(Title, x + 10, y + 5, 0, 0, tocolor( 255, 0, 0, Alpha ), 2) -- title dxDrawLine( x, y, w +x, y, tocolor( 255, 255, 255, Alpha ), 2 ) -- outside dxDrawLine( x, y, x, y + h, tocolor( 255, 255, 255, Alpha ), 2 ) -- outside dxDrawLine( x, y + 40, w +x, y + 40, tocolor( 255, 255, 255, Alpha ), 2 ) -- x --outputChatBox(string.len(text) .. ", " .. w) dxDrawText(text, x + 5, y + 45, 0, 0, tocolor(231, 76, 60, Alpha), 1.5) -- text end, update = function () if ( x > sx ) then --removeEventHandler( "onClientRender", getRootElement(), update ) isShowing = false; else x = x + 10; end end, isOn = function () return isShowing; end } function create () addEventHandler( "onClientRender", getRootElement(), notify.draw ) isShowing = true; setTimer( function () addEventHandler( "onClientRender", getRootElement(), notify.update ) end, fadeTime * 1000, 1) return notify; end return create(); end function ntoX( Title, text, fadeOut ) notify(sx - 300, sy - 100, 300, 100, Title, text, fadeOut) end addEvent( "notify", true ) addEventHandler( "notify", getRootElement(), function ( Title, text, fadeIn ) ntoX(Title, text, fadeIn) end ) Server function send ( playerSource, commandName, ... ) local arg = {...} if ( arg[1] and arg[2] and arg[3] ) then text = string.gsub(arg[2], "_", " ") Title = string.gsub(arg[1], "_", " ") triggerClientEvent( getElementsByType( "player" ),"notify", getRootElement(), Title, text, tonumber(arg[3]) ) else outputChatBox("use it like so: /notify Title Text fadeTime") end end addCommandHandler ( "notify", send )
  17. مجرد لوحه واحتمال حتى مسويها ب GUI editor ليش تشفرها ؟
  18. mouamle

    طلب

    شوف هذا الموضوع يمكن يفيدك https://forum.multitheftauto.com/viewtopic.php?f=160&t=98872
×
×
  • Create New...