Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/08/17 in Posts

  1. اليوم سويت سكربت بسيط الي هو BlackList DX رابط التحميل : اضغط هنا للتحميل طبعا التعديل من ملف Settings.lua ضيف سيريالك هناك وتقدر تعدل الكوماندات ملاحظة : ضيف المود لقروب الادمن كذا : resource.black_listsyst
    5 points
  2. Hello. I'm present a new mapping editor (beta). Developed for Project Zero.
    4 points
  3. NeXuS™ presents dxLib Introduction You want to work with dx functions, but you don't understand them? This is a script for you. You can create panels created by dx functions just like with GUI functions. Status IN DEVELOPMENT Sorry guys, its not finished yet, so I'm not publishing it. This is just a show off, that you'll get this in weeks. Whats done already Screenshots Syntax
    3 points
  4. يب راح يسوي لو كانت القاعدة موب موجودة
    2 points
  5. 6/10 الفكرة نوعاً ما قديمة , والتنسيق مو متنآسق
    2 points
  6. عليكم السلام اقدر ابرمج لك سكربت السجن واسويلك جميع ماذكرت عنه لكن الماب عليك سواء تشوفلك مصمم ماب او تسويه بنفسك سكايب بالتوقيع او تفضل كلمني خاص
    2 points
  7. I have found the problem I just misspelled the filepath.
    2 points
  8. Forest generator 1.0.0 ---------------------------------------------------------- ---------------------------------------------------------- Use /forestgen <frency> (frequency is distance between trees) ---------------------------------------------------------- Settings fg_client.lua / generatorData - Generation settings fg_server.lua / treesList - Object settings Forest exported to .map file in root directory of script ---------------------------------------------------------- Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=14680
    1 point
  9. Try debugging. function playerAccountSetData(player, dataname, amount) outputChatBox(player:getAccount():getName()) player:getAccount():setData(dataname, amount) end
    1 point
  10. اقصد ما هي منسقة
    1 point
  11. انت فهمت غلط dbConnect راح يعوض عن عن الي مسويه انت
    1 point
  12. همممم لا انت تتكلم عن التيبل اللي داخل القاعده انا اتكلم عن الملف نفسه لو بيسوي dbConnect
    1 point
  13. @Master_MTA fileCreate اساسا لو ماكنت موجودة القاعدة راح يسويها الفنكشن نفسه يعني مايحتاج
    1 point
  14. الله يباركلك انصحك بالاخ عبد الكريم خبرته افضل مني يقلبي لكن لو حبي تفضل عرضي باذن الله اسويلك الماب مع السكربت
    1 point
  15. executeSQLQuery("CREATE TABLE IF NOT EXISTS players (clothes_head_texture TEXT, clothes_head_model TEXT, name TEXT)") --------------or local file=fileOpen('mydatabase.db') if not file then local file=fileCreate('mydatabase.db') end test_db = dbConnect( "sqlite", "mydatabase.db" )
    1 point
  16. *Update* *Rewrote the whole script. *Added more functions.
    1 point
  17. مايحتاج داتا بيس executeSQLQuery -- select+insert بالسكربت حقك executeSQLQuery -- select بلوحة الادمنية
    1 point
  18. Hospital = { {1177.26, -1324.92, 14.06}, {2029.25, -1419.17, 16.99}, {1607.06, 1825.09, 10.82}, {-320.21, 1055.96, 20, -302.87}, {-2644.37, 633.05, 14.45}, {-2201.14, -2292.66, 30.63}, {-1514.47, 2527.25, 55.74} } for i, k in pairs(Hospital) do HospitalBlips = createBlip(k[1], k[2], k[3], 22) setBlipVisibleDistance(HospitalBlips,200) end Try this.
    1 point
  19. يبيليك تعيد طريقة التحقق من السيريالات بحيث انك تربطها بداتا بيس وبكذا بتكونمشتركه ما بين المودات
    1 point
  20. الرجال ع الاقل سوا شئ ناس ما تعرف تسويه 10/10 وواصل
    1 point
  21. Try this. blips[thePlayer] = createBlipAttachedTo(markers[thePlayer], 58, nil, nil, nil, nil, nil, nil, nil, thePlayer)
    1 point
  22. شكرا ادري ان الفكرة قديمة لكن انا ضفت لها اشياء و الخ ..
    1 point
  23. 6.5/10 ما عجبني تصميم حاول تعدله وترا في بعض الاغلاط بسيطة زي Add Custom Player المهم بتوفيق
    1 point
  24. You can use account data or the player's serial.
    1 point
  25. You can use dxCreateRenderTarget and draw the textures on that rendertarget creating one "texture".
    1 point
  26. الطلب الاول : https://forum.multitheftauto.com/topic/76835-طريقة-جعل-سبب-الميوت-الباند-بلوحة-الادمينية-_-سهل/
    1 point
  27. الطلب الثاني : رح الريسورز ثم ادمن دبل كلك على المود تجيك لوحة وتعدل الاوقات الطلب الثالث : ادخل الاسل ثم قروب الادمن وضيف user.Console بخصوص الطلب الاول انا الان برا البيت اذا رجعت بعطيك الاكواد
    1 point
  28. Yes, simply check the wiki page for that event https://wiki.multitheftauto.com/wiki/OnPlayerQuit Source The source of this event is the player that left the server.
    1 point
  29. فنان والى الأمام : ) 10/10
    1 point
  30. وآصل بطل , إلى الأمام ~ بالتوفيق
    1 point
  31. This is Awsome .. Actually i used only Client side .. and change line 24 from minutes to 20 in server side i used only triggerClientEvent(getRootElement(), "createBagTimer", getRootElement(), minutes) Thank You A lot Bro <3 -- SOLVED
    1 point
  32. Function to translate angles of Euler into quaternions. Arguments: RotX, RotY, RotZ Return: RotX, RotY, RotZ, RotW function math.quaternion(x, y, z) local c = { math.cos(math.rad(-x)), math.cos(math.rad(-y)), math.cos(math.rad(z)) } local s = { math.sin(math.rad(-x)), math.sin(math.rad(-y)), math.sin(math.rad(z)) } local t = { c[2] * c[3], s[1] * s[2] * s[3] + c[1] * c[3], c[1] * c[2] } return math.drt(1.0 + t[1] - t[2] - t[3], (c[3] * s[1] - c[1] * s[2] * s[3]) - (-s[1] * c[2])), math.drt(1.0 - t[1] + t[2] - t[3], s[2] + (c[1] * s[2] * c[3] + s[1] * s[3])), math.drt(1.0 - t[1] - t[2] + t[3], (s[1] * s[2] * c[3] - c[1] * s[3]) - (c[2] * s[3])), math.drt(1.0 + t[1] + t[2] + t[3]) end function math.drt(a, b) a = math.sqrt(math.max(0.0, a)) * 0.5 return (b and ((b < 0) and -math.abs(a) or math.abs(a)) or a) end
    1 point
  33. This function is needed to convert .map to .ipl In all converters rotation is not calculated correctly. But this function works perfectly. Example local file = File.new("map-test.ipl") file:write("inst\n") for _, theSubject in ipairs(Element.getAllByType("object")) do local rX, rY, rZ = getElementRotation(theSubject, "ZXY") local rW = 0 rX, rY, rZ, rW = math.quaternion(rX, rY, rZ) file:write( theSubject.model..", "..engineGetModelNameFromID(theSubject.model)..", 0, ".. theSubject.position.x..", "..theSubject.position.y..", "..theSubject.position.z..", ".. rX..", "..rY..", "..rZ..", "..rW..", -1\n" ) end file:write("end") file:flush() file:close()
    1 point
  34. Not sure where you're saving it, but here is how you get the data from a player as well an example of storing it, however, the storing function is client-side ONLY. If you want to save the data from a server-side script you need to replace getLocalPlayer() with the player itself. getElementData(getLocalPlayer(), "radio.title") setElementData(getLocalPlayer(), "radio.title", theData)
    1 point
  35. Check the parameters for the onPlayerWasted event https://wiki.multitheftauto.com/wiki/OnPlayerWasted - there aren't any for the player who died You have to use source instead. (source of the onPlayerWasted event is the player who was killed) function deleteOnWasted ( ) if ( isElement ( markers [ source ] ) ) then destroyElement ( markers [ source ] ) end if ( isElement ( blips [ source ] ) ) then destroyElement ( blips [ source ] ) end if ( isElement ( peds [ source ] ) ) then destroyElement ( peds [ source ] ) end end addEventHandler ( "onPlayerWasted", root, deleteOnWasted ) addEventHandler("onPlayerWasted",root, function () if vehicle2 then if isElement( vehicle2 ) then destroyElement( vehicle2 ) end end end)
    1 point
  36. Can we see the code you've already tried?
    1 point
  37. Have you read these guidelines Firstly, what do you mean by PVP? Secondly, can we see an example of code you've already tried & an explanation to what the actual problem is.
    1 point
  38. لول سوري يا صاحب الموضوع كنت اقصد call وليس callRemote لاني كنت سارح بطريقة عمل لوحة تسجيل ببصمة صوت قالي طريقه تنطيل زمان فكنت افكر فيها اعذرني حبيبي
    1 point
  39. lol dude my spectator like this i need this script
    1 point
  40. Client side modules would be a massive security hole as they'd allow you to run arbitrary native code on the client.
    1 point
  41. The window is already movable, and sizable. If you wish to, you can turn those off, by using dxWindowSetMovable and dxWindowSetSizable functions. And yes, DEV means it's WIP.
    1 point
  42. لا ميت بس ارسل ملك من السماء عشان يكتب الرساله هذي
    0 points
  43. والله مافهمت وش تقول تتكلم بالالغاز انت ض
    0 points
  44. Brother , Deathmatch just get in los santos and las venturas. I spawn zombies in other places. And players can easily kill zombies and jump level. They will kill zombies outside of LV and LS. And in the meantime they will not kill each other. I just want to do deathmatch in LV and LS. LV and LS will be the only PVP places.
    0 points
  45. تمت ازالة الردود السابقة! يرجي منكم عدم الرد علي من يزيد من مشاركاته ودعو القرار لنا !
    0 points
×
×
  • Create New...