Leaderboard
Popular Content
Showing content with the highest reputation on 04/08/17 in Posts
-
اليوم سويت سكربت بسيط الي هو BlackList DX رابط التحميل : اضغط هنا للتحميل طبعا التعديل من ملف Settings.lua ضيف سيريالك هناك وتقدر تعدل الكوماندات ملاحظة : ضيف المود لقروب الادمن كذا : resource.black_listsyst5 points
-
Hello. I'm present a new mapping editor (beta). Developed for Project Zero.4 points
-
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 Syntax3 points
-
2 points
-
2 points
-
عليكم السلام اقدر ابرمج لك سكربت السجن واسويلك جميع ماذكرت عنه لكن الماب عليك سواء تشوفلك مصمم ماب او تسويه بنفسك سكايب بالتوقيع او تفضل كلمني خاص2 points
-
2 points
-
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=146801 point
-
Try debugging. function playerAccountSetData(player, dataname, amount) outputChatBox(player:getAccount():getName()) player:getAccount():setData(dataname, amount) end1 point
-
1 point
-
1 point
-
همممم لا انت تتكلم عن التيبل اللي داخل القاعده انا اتكلم عن الملف نفسه لو بيسوي dbConnect1 point
-
@Master_MTA fileCreate اساسا لو ماكنت موجودة القاعدة راح يسويها الفنكشن نفسه يعني مايحتاج1 point
-
الله يباركلك انصحك بالاخ عبد الكريم خبرته افضل مني يقلبي لكن لو حبي تفضل عرضي باذن الله اسويلك الماب مع السكربت1 point
-
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
-
1 point
-
مايحتاج داتا بيس executeSQLQuery -- select+insert بالسكربت حقك executeSQLQuery -- select بلوحة الادمنية1 point
-
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
-
يبيليك تعيد طريقة التحقق من السيريالات بحيث انك تربطها بداتا بيس وبكذا بتكونمشتركه ما بين المودات1 point
-
1 point
-
Try this. blips[thePlayer] = createBlipAttachedTo(markers[thePlayer], 58, nil, nil, nil, nil, nil, nil, nil, thePlayer)1 point
-
1 point
-
6.5/10 ما عجبني تصميم حاول تعدله وترا في بعض الاغلاط بسيطة زي Add Custom Player المهم بتوفيق1 point
-
1 point
-
You can use dxCreateRenderTarget and draw the textures on that rendertarget creating one "texture".1 point
-
الطلب الاول : https://forum.multitheftauto.com/topic/76835-طريقة-جعل-سبب-الميوت-الباند-بلوحة-الادمينية-_-سهل/1 point
-
الطلب الثاني : رح الريسورز ثم ادمن دبل كلك على المود تجيك لوحة وتعدل الاوقات الطلب الثالث : ادخل الاسل ثم قروب الادمن وضيف user.Console بخصوص الطلب الاول انا الان برا البيت اذا رجعت بعطيك الاكواد1 point
-
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
-
1 point
-
1 point
-
1 point
-
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 -- SOLVED1 point
-
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) end1 point
-
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
-
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
-
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
-
1 point
-
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
-
لول سوري يا صاحب الموضوع كنت اقصد call وليس callRemote لاني كنت سارح بطريقة عمل لوحة تسجيل ببصمة صوت قالي طريقه تنطيل زمان فكنت افكر فيها اعذرني حبيبي1 point
-
1 point
-
Client side modules would be a massive security hole as they'd allow you to run arbitrary native code on the client.1 point
-
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
-
لا ميت بس ارسل ملك من السماء عشان يكتب الرساله هذي0 points
-
0 points
-
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
-
تمت ازالة الردود السابقة! يرجي منكم عدم الرد علي من يزيد من مشاركاته ودعو القرار لنا !0 points
