Leaderboard
Popular Content
Showing content with the highest reputation on 25/09/17 in all areas
-
السلام عليكم ورحمة الله وبركاتة لقد تم إضافة خاصية حماية الحساب قبل فتره بسيطة وتم إنشاء هذا الموضوع لمن لم يلاحظ وجود هذه الخاصية او لمن لايعرف طريقة إستخدامها حتي ! اولأ طريقة تفعيل هذه الحماية عن طريق إتباع الخطوات التالية : Account Settings الذهاب الي ومن ثم كما موضح في الصورة ومن ثم سيطلب منك إدخال الباسورد الحالي لحسابك ومن ثم سيفتح لك هذه النافذه والان اصبح لديك 3 خيارات وسأقوم بشرح كل واحده منهم Authy: تقوم بإرسال كود سري لهاتفك ومن ثم سيطلب المنتدي منك إدخال هذا الكود السري في المنتدي لتتمكن من فتح حسابك Google Authenticator: يجب عليك تحميله علي هاتفك ومن ثم سيعطيك كود سري وسيطلب منك المنتدي هذا الكود السري لتتمكن من فتح حسابك Security Questions: اسئلة الامان ( لاداعي لشرحها لأنها معروفة ) ملاحظة مهمة : عند تفعيل اي واحده منهم سيسألك المنتدي عن الكود السري من وقت لأخر وهذا لا يعني ان هناك شخص قد قام بإختراق حسابك , هذا فقط للتأكد من انك انت صاحب الحساب الاصلي وحتي في حال تم إختراق حسابك من اي عضو اخر لاتقلق لأن حسابك سيكون بأمان ولن يستطيع فعل اي شي الا بعد ان يقوم بإدخال الكود السري الذي يتم إرساله لك تم تثبيت الموضوع لفترة مؤقتة واتمني لكم التوفيق4 points
-
يبي يقلد مود طلال 07 الي موجود ف وناسة قال جته فكرة حصرية ???? موشششككلةة والله ^^3 points
-
يب صحيح كلامك لكن الوظيفة بتعوض عن الاثنين local concat = table.concat function table.concat ( table , char ) if type ( table ) ~= "table" or type ( char ) ~= "string" then return {} end local cTable , n = {}, 1 for _, v in pairs ( table ) do cTable [ n ] = v n = n + 1 end return concat ( cTable , char ) end2 points
-
@#,+( _xiRoc[K]; > يعطيك العافية على المجهود لكن وظيفة تحويل التيبل لسترنق اقدر اختصرها عن طريق table.concat مثال local myTable = { 1 , 2 , 3 , 4 } print ( table.concat ( myTable , "," ) ) -- result : 1 , 2 , 3 , 42 points
-
السلام عليكم ورحمة الله وبركاته قبل ايام نزلت مود عن لوحة اختيار شكل للانفرنس اللوحة كانت بسيطة 5 ازرار فقط وكل زر يغير شكل الانفرنس قلت بنزل اصدار اثاني وعدلت على اللوحة صورة اللوحة الجديدة ميزات اللوحة الجديدة : جريد ليست به اسماء جميع السيارات عند اختيار سيارة يمكنك عن الضغط على زر Infernus في اللوحة ستظهر لك صورة السيارة وزر Take Infernus حتى تقوم باخذ السيارة اللوحة تفتح من زر F4 __ السيارات ما غيرتها نفسها يلي بالمود الاول التحميل الاهداتئات : MR.StoRm #,+( _xiRoc[K]; > Ahmed Ly Master_MTA2 points
-
بسم الله الرحمن الرحيم table.toString وضيفة تحويل الجدول الى سترنق Syntax : table.toString ( table theTable, string separatingChar ) source Code : function table.toString ( theTable, char ) assert ( type ( theTable ) == 'table', 'expected table at argument 1 got ' .. type ( theTable ) ) assert ( type ( char ) == 'string', 'expected string at argument 2 got ' .. type ( char ) ) assert ( char:len ( ) <= 2, 'expected charcter at argument 2 got ' .. char ) local m, t = '', { }; for _, v in pairs ( theTable ) do table [ 'insert' ] ( t, v ) end for k, v in pairs ( t ) do if ( k == #t ) then m = m .. v else m = m .. v .. char end end return m; end Example : function table.toString ( theTable, char ) assert ( type ( theTable ) == 'table', 'expected table at argument 1 got ' .. type ( theTable ) ) assert ( type ( char ) == 'string', 'expected string at argument 2 got ' .. type ( char ) ) assert ( char:len ( ) <= 2 and char:len ( ) >= 1, 'expected charcter at argument 3 got ' .. char ) local m = ''; for k, v in pairs ( theTable ) do if ( k == #theTable ) then m = m .. v else m = m .. v .. char end end return m; end local example1 = { 'a', 'b', 'c' }; print ( table.toString ( example1, ', ' ) ) -- a, b, c2 points
-
function onPreFunction( sourceResource, functionName, isAllowedByACL, luaFilename, luaLineNumber, ... ) local args = { ... }; if ( args[2] == 38 ) then setElementModel ( args[1], 104 ) if ( getElementType ( args[1] ) == "player" ) then kickPlayer ( args[1], "No Minigun" ) end return "skip" end end addDebugHook( "preFunction", onPreFunction, { "giveWeapon" }) الكود فقط بيعطي كيك + وتغيير شخصية لأي شخص حاول ياخذ ميني قن طلبك مستحيل تقريبا الا لو تعدل من كافة اللوحات الي تعطي سلاح .. اما هذا فقط كود بسيط يخلي الشخص ماياخذ ميني قن جرب ورد لو زبط معك الكود2 points
-
مرحبا لقد قمت بإطلاق الاصدار الجديد من لوحة الادمنية العربية بعد ان لاحظت ان معظم الاعضاء يقومون بإستخدام لوحات الادمنية العربية القديمة التي مر عليها الدهر من دون اي تحديثات او حماية وكما انها غير مؤمنه كـ اي لوحة ادمنية حديثة الإنشاء,( وبالمناسبة انني هولندي ولا اتحدث اللغة العربية ) وكما انني بذلت الكثير من جهدي حتي اقوم بنقل الترجمة العربية من اللوحات العربية القديمة الي هذه اللوحة حديثة الصنع وكل ما اريده هو ان اقوم بإفادة اصحاب السيرفرات الذين يستخدمون لوحة الادمنية العربية القديمة وكما انه يمكنك ان تري اخر تحديثات لوحة الادمنية من خلال : https://github.com/multitheftauto/mtasa-resources/commits/master/[admin]/admin وإذا كان لديك صاحب سيرفر يستخدم لوحة الادمنية العربية القديمة رجاء اخبره بهذا الموضوع لكي يقوم بتحميل النسخة الحديثة من اللوحة العربية لتحميل اللوحة العربية DOWNLOAD:https://community.multitheftauto.com/?p=resources&s=details&id=14837 واذا كان هناك خطأ في ترجمة اللوحة رجاء اخبرني " لقد تمت ترجمة الموضوع من قبل نصور " ENG: I'm here releasing a new Arabic-translated admin panel from today's version (september 2017) after I noticed all community circulating AR panels were outdated as hell. As they pose serious security risks, eventhough I'm not Arabic, I felt it of such importance that I've spent a long time transferring translations from older circulating panels to this most up-to-date Admin panel. I'm helping a huge amount of server owners with this, because most will just use a Community version that is outdated because of the great time to invest in translating yourself. Ofcourse, you'll also benefit from new features and updates made to Admin recently, (look here: https://github.com/multitheftauto/mtasa-resources/commits/master/[admin]) both for this reason and security I advise you inform all server owners you know about this release and suggest they update if they're using Arab panels. If you spot any translation issues, please leave a reply. Main view example; (updated 24/09/2018)1 point
-
Welcome all , well that is my first post in MTA forum , i was a fan of MTA VC, after these dead years , do you think it will return again or we have to be under VC:MP? VCMP version now is 0.4 is being good , but have bad sync system if you wanted to compare it with any multiplayer mod, they use RakNet. Like SAMP. So that topic is for : MTA III/VC will return again? Can MTA III/VC return again with another team of hobbyists? Idea of Source Code has been discussed before alot of times. and the answer was to make another project, so that will be the last answer to the concept of releasing the source code of MTA III/VC? if MTA III/VC will return again so it will be written from scratch? MTA III/VC stills in people hearts in minds? and i hope that we have good discussion here and not to be ignored1 point
-
السلام عليكم ورحمة الله وبركاته معكم صاحب سيرفر وزارة العرب طبعآ مش الكل يعرفه لأنه كان مصري زمان يعني هوا كان الأول علي السيرفر المصرية من حيث العدد وكل حاجا ولاكن الي حصل ان الرولي بلاي انتشر وانتهت سمعت السيرفر وكانت بتحصل مشاكل في الأستضافة ياما افقدته شهرته طبعآ انا كنت مسميه وزارة مصر وغيرة اسم لوزارة العرب بنائآ علي نصيحة من در ماركو من انا : انا مبرمج لو قضيت فيه سنتين او اقل خبرتي تصل بين ال 70 الي 80 في المئة احتاج الي مبرمج لوا خبرة علي الأقل لا تقل عن سنة لا يقل مستواه عن 50 او 60 + بيصمم مابات بشكل احترافي طبعآ انا مش حجهده ولا حيكون مبرمج اساسي كل الي حعمله مثلآ حطلب منه يصنعلي ماب معين يصنعلي مود معين وغالبآ افكار بسيطة المقابل رتبة مساعد في سيرفري ومع الوقت اذا اثبت مكانتك تكون صاحب + جزء من الأرباح التي أؤخذها من السيرفر يتراوح بين 20 ال 30 جنيه شهريآ او ممكن نستخدم كاش يو واذأ وصلت معي لصاحب بتتقاسم نصف الأرباح طبعآ انا مش عايز اي حد يرد سوا المبرمج الي يعرف نفسه1 point
-
بسم الله الرحمن الرحيم string.toTable or itemsToTable الوضيفة واضحة من الأسم تحويل السترنق الى تيبل الفنكشن عكس الفنكشن الي فوق _________________________________ string.toTable Syntax : string.toTable ( string textString, string separatingChar ) _________________________________ itemsToTable Syntax : itemsToTable ( mixed arguments... ) _________________________________ string.toTable Source Code : function string.toTable ( str, char ) assert ( type ( str ) == 'string', 'expected table at argument 1 got ' .. type ( str ) ) assert ( type ( char ) == 'string', 'expected string at argument 2 got ' .. type ( char ) ) assert ( char:len ( ) <= 2, 'expected charcter at argument 2 got ' .. char ) local s = { }; local charSplit = split ( str, char ) for k, v in pairs ( charSplit ) do table [ 'insert' ] ( s, v ) end return s; end _________________________________ itemsToTable Source Code : function itemstoTable ( ... ) if ( ... ) then local s = { }; for k, v in pairs ( { ... } ) do table [ 'insert' ] ( s, v ) end return s; end return false end _________________________________ Example ( string.toTable Source Code ) : function string.toTable ( str, char ) assert ( type ( str ) == 'string', 'expected table at argument 1 got ' .. type ( str ) ) assert ( type ( char ) == 'string', 'expected string at argument 2 got ' .. type ( char ) ) assert ( char:len ( ) <= 2, 'expected charcter at argument 2 got ' .. char ) local s = { }; local charSplit = split ( str, char ) for k, v in ipairs ( charSplit ) do table [ 'insert' ] ( s, v ) end return s; end local tablee = string.toTable ( 'FIRST, a, b, c, LAST', ', ' ) -- { 'FIRST', 'a', 'b', 'c', 'LAST' } for _,v in ipairs(tablee)do if(_==1)then print(v..':') elseif(_~=#tablee and _~=1)then print(v..', ') elseif(_==#tablee)then print(v..'.') end end--[[ FIRST: a, b, c, LAST. ]] _________________________________ Example ( itemsToTable Source Code ) : function itemsToTable ( ... ) if ( ... ) then local s = { }; for k, v in pairs ( { ... } ) do table [ 'insert' ] ( s, v ) end return s; end return false end local tablee1 = itemsToTable ( 'a', 'b', 'c' ) -- { 'a', 'b', 'c' } for k, v in ipairs ( tablee1 ) do print ( v ) --[[ a b c ]] end _________________________________ طريقة الأستخدام بسيطة مثلا عندي هذا السترنق ( السورس كود الأول )ء '1;2;3' ابيه يكون على شكل تيبل كذا : table1 = { '1', '2', '3' } نسوي كذا table1 = string.toTable ( '1;2;3', ';' ) -- { '1', '2', '3' } _________________________________ او تقدر تسوي كذا بالسورس كود الثاني : table1 = itemsToTable ( '1', '2', '3' ) -- { '1', '2', '3' }1 point
-
شكرا نورت الموضوع منور بضيف ميزات اكثر لكن ما عندي افكار ان شاء الله بحاول اطوره نورت الموضوع1 point
-
I used the same resource in my server since the design is so simplistic yet awesome looking. Try this for your case (also fixed up code a bit since it wasn't positioned correctly): local sx, sy = guiGetScreenSize() local px, py = 1600, 900 local x, y = (sx/px), (sy/py) function drawHealthAndNOS() local playerVehicle = getPedOccupiedVehicle(localPlayer) if playerVehicle then local vehicleHealth = getElementHealth ( playerVehicle ) local vehicleSpeed = getElementVelocity ( playerVehicle ) if isPedDead(localPlayer) then return end dxDrawLine(x*1293, y*802, x*1590, y*802, tocolor(0, 0, 0, 255), 3, true) dxDrawLine(x*1293, y*886, x*1590, y*886, tocolor(0, 0, 0, 255), 3, true) dxDrawLine(x*1293, y*801, x*1293, y*887, tocolor(0, 0, 0, 255), 3, true) dxDrawLine(x*1590, y*800, x*1590, y*886, tocolor(0, 0, 0, 255), 3, true) dxDrawRectangle(x*1294, y*803, x*297, y*83, tocolor(0, 0, 0, 170), true) -- Rahmen dxDrawRectangle(x*1454, y*814, x*126, y*23, tocolor(44, 44, 44, 255), true) -- Health dxDrawRectangle(x*1454, y*814, x*126/1000*vehicleHealth, y*23, tocolor(59, 141, 0, 255), true) -- Health dxDrawText((math.floor(vehicleHealth/10)).."% Health", x*1440, y*810, x*1604, y*842, tocolor(255, 255, 255, 255), 1.30, "default-bold", "center", "center", false, false, true, false, false) -- Health sx, sy, sz = getElementVelocity (getPedOccupiedVehicle(localPlayer)) -- Speed vehiclekmh = math.floor(((sx^2 + sy^2 + sz^2)^(0.5))*180) -- Speed dxDrawText(""..tostring(vehiclekmh).." kmh", x*1358, y*857, x*1522, y*877, tocolor(255, 255, 255, 255), 1.20, "default-bold", "center", "center", false, false, true, false, false) -- Speed end end addEventHandler("onClientRender", root, drawHealth) function nitroShow() if isPedInVehicle(localPlayer) then local car = getPedOccupiedVehicle(localPlayer) local nitro = getVehicleNitroLevel(car) if isPedDead(localPlayer) then return end if nitro ~= false and nitro ~= nil and nitro > 0 then dxDrawRectangle(x*1305, y*814, x*126, y*23, tocolor(44, 44, 44, 255), true) -- Nos Show dxDrawRectangle(x*1305, y*814, x*126/10*10*nitro, y*23, tocolor(0, 70, 149, 255), true) -- Nos Show dxDrawText((math.floor(nitro/1*100)).."% Nitro", x*1290, y*810, x*1454, y*842, tocolor(255, 255, 255, 255), 1.30, "default-bold", "center", "center", false, false, true, false, false) -- Nos Show else dxDrawText("No Nitro", x*1290, y*810, x*1454, y*842, tocolor(255, 255, 255, 255), 1.30, "default-bold", "center", "center", false, false, true, false, false) -- Nos Hide end end end addEventHandler("onClientRender", root, nitroShow)1 point
-
Would it be something like this? function isPedDead() if isPedDead then Dead = showPlayerHudComponent(thePlayer "source, nitroShow",false) else getElementHealth(player) if Health then showPlayerHudComponent(thePlayer "source, nitroShow",true) end end end1 point
-
1 point
-
I found out that the required line is actually: <removeWorldObject id="removedWorldObject1" radius="1000" interior="0" model=" " lodModel="0" posX=" " posY=" " posZ=" " rotX="0" rotY="0" rotZ="0"></removeWorldObject> You'll need to add in it your own model id, x, y and z values, I left blanks there. thanks @Moha|M|1 point
-
@iMr.WiFi..! مايحتاج داتا فيه طريقة أسهل واحسن Client : button,edit = guiCreateButton(24, 350, 73, 22, "add", false) , guiCreateEdit(25, 323, 188, 21, "", false) addEventHandler ( "onClientGUIClick" , resourceRoot , function ( ) if ( source == button ) then local posX,posY,posZ = getElementPosition ( localPlayer ) ; triggerServerEvent ( "addCmd" , localPlayer , guiGetText ( edit ) , posX , posY , posZ ) end end ) ; Server : cmd = nil addEvent ( "addCmd" , true ) addEventHandler ( "addCmd" , root, function ( text , x , y , z ) if ( cmd == nil ) then cmd = text addCommandHandler ( cmd , function (player) setElementPosition ( player , x , y , z ) end ) else outputChatBox("يوجد أمر مفعل مسبقاً",source,255,0,0,true) end end ) addCommandHandler ( "delete", function ( player ) if ( cmd ~= nil ) then removeCommandHandler ( cmd ) cmd = nil outputChatBox("تم حذف الامر",player,0,255,0,true) else outputChatBox("لايوجد امر لحذفه",player,255,0,0,true) end end ) ;1 point
-
Hey! Zeyad Ahmed! I know you from LW's! We have a MTA:VC server /0.4.1/ in Hungary. We use mods, and now i work on 2017 version bug fixes. I use Project Redivivus 0.6 Nightly .scm with some fixes. We've been working since 2010. Hey Zerb! You said: "golden generation". My old friend Jano is play with us on Hungarian server. He was an old FMJ member. [FMJ]Jano I have all scripts from the past. / Created by OLi and Aeron / I have a MACK version too! Now we cant use this scripts cause it writed on 0.5. Script features: https://pastebin.com/ymMTkrnE https://pastebin.com/GswJV994 Manhunt.mrc mta.area.mrc Scripts.mrc Dodo.mrc DB.mrc CTW.mrc Admin-System.mrc Full of FMJ scripts i have: FMJdm.mrc FMJrpg.mrc cw.alias.txt cw.getip.ini cw.teams.ini cw.options.ini clanwar.mrc cw.commands.ini clanwars.ini clanwar.dll "Kopia FMJdm.mrc" FMJ Dm files and RPG files too Did you know "Babybot" ? ;////////////////////////////////////////// ;/// FULL METAL JACKET - PURE DM SCRIPT /// ;/// BY [FMJ]MASTER /// ;////////////////////////////////////////// ;/// FOR USE ONLY WITH FMJ SERVERS /// ;////////////////////////////////////////// alias fmj.botname !return [FMJ]BabyBot alias fmj.dir !return $scriptdir $+ DMfiles/ alias fmj.dmver !return 2.5 alias fmj.server { if ($prop == ip) !return %fmj.server.ip [ $+ [ $1 ] ] elseif ($prop == port) !return %fmj.server.cport [ $+ [ $1 ] ] elseif ($prop == out) !return $+($mta.server($1).ip,_,$iif(%fmj.server.port [ $+ [ $1 ] ] > 4000,$v1,4015)) else { if ($mta.server($1) == 127.0.0.1:4003) !return $true elseif ($mta.server($1) == 127.0.0.1:4003) !return $true else !return $false If you want to talk me, you find me on LW's. My name is there: Zool / my forum name is Abri / Sorry for my bad words Anybody need this scripts, just write me!1 point
-
We gave the source code to GTA3MTA 0.5 and MTA:VC 0.5 to a third party group quiiiiiite a while ago, so they are the ones interested in continuing the development for these mods. You can find some information about them here: and maybe you can find some development builds on their website: http://www.projectredivivus.com/ As for doing an actual proper reboot for those mods from our side, you have to keep in mind a bunch of things: age of these games and potential userbase for multiplayer mods for them GTA3 is 15 years old and VC is 14 years old both games are no longer supported by original developers and have some compatibility problems on newer PCs newer titles exist which are supported and do contain multiplayer components out of the box popularity of MTA:SA and our current dev manpower capabilities we are quite understaffed at this point so taking on more projects is simply impossible for us - our current mod would suffer because of that, and we could not provide the proper level of quality for other projects either MTA:SA source code is almost completely freely available to anyone to view and modify this means that anyone can try to adapt it for GTA3 and VC, which should be possible to do - we would surely welcome that and maybe provide some minor assistance for it (eg. work on the closed-source parts of the mod to make it work) Because of that, it is unlikely that you will see a new official GTA3MTA/MTAVC feature/content release from us in the future (unless, like I have mentioned above, someone tries to adapt MTA:SA to older games - unfortunately there were no signs of that happening so far).1 point
