Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/12/16 in all areas

  1. بسم الله الرحمن الرحيم السلام عليكم و رحمة الله و بركاتة امأ بعد نقدم لكم سكربتون بيس الاصدأر نشرت السكربت في بعض الموقع ولكن تم ازاله روبط التحميل من المواقع و من الفيديوهات , لذأ قررات انزلها مرهه اخرهه لن السكربت مميز و يحتوى على شخصيات مميزه و عدهه اضافات جميلة و من الشخصيات : رورنوأ زورو , لوفي , لاو , الادميرالات , بأغي , قائد الفرقه الثانية , و افضل سيأف اما بعد نضع الصور ... طبعأ اعتذر منكم لدقهه الصور لن تم التصوير على حجم شاشة مختلف بعد تعديل قياس الشاشة الخاص با المود : السكربت قديم لكن ما اتنشر لني حذف الروابط حقت التحميل فـ حبيت انزله من جديد و شأكرين لكم حسن المشأهدهه و نتمنأ نال على اعجابكم اما الحين نهدي السكربت المشرفينالمسؤولين عن القسم تحميل الشخصيات : http://www.mtaarabs.com/vb/showthread.php?p=5551#post5551 تحميل شراء الشخصيات : http://www.mtaarabs.com/vb/showthread.php?p=5551#post5551 ملف سيرفر غير مشفر و قابل للتعديل ملف كلنت لحفظ البيانات و الحقوق .. مشفر اذا وجد بعض المشاكل يمكنك مراسلتي عبر الخأص
    2 points
  2. Hi guys @fastman92 has recently engaged with us in order to get his limit adjuster implemented into MTA. Obviously, there are a number of complexities involved in implementing this, and we need to make some important design decisions to achieve this. So, why do you want to use a Limit Adjuster tool? Some things I'm hoping to learn: Are you trying to play MTA with a modified version of GTASA? Do you want the limit adjuster to play mods like GTA:Underground? Are you trying to use Limit Adjusters with MTA's own Lua engine* functions? (e.g. engineLoadDFF) Anything else? Any feedback would be incredibly beneficial to the team going forward. Cheers Dan
    1 point
  3. من زمان الواحد ساحب على المنتدى ألف مبروك الإشراف هههه وشكرا على التعديل @!#NssoR_)
    1 point
  4. سلام عليكم صراحة مدري والله هل احد سبقني او لا لكن هم وظيفتين سهلين مره وفقط هم لتقليل الوقت المستهلك في البرمجه للسكربت وانا بالنسبه ليه مفيدين جدا ملاحظه كلنت سايد فقط function clwndo( guiElement ) guiSetVisible( guiElement, false ) showCursor( guiGetVisible(guiElement)) end function openwnd( guiElement ) guiSetVisible( guiElement, true ) showCursor( guiGetVisible(guiElement)) end الحين طريقة الاستخدام مثال لفتح النافذه مع الماوس openwnd(GUIEditor.window[5]) مثال لغلق النافذه clwndo(GUIEditor.window[5]) مثال الاستخدام GUIEditor.window[5] = guiCreateWindow(0, 355, 259, 445, "Player Panel", false) bindKey( "z", "down", function ( ) if guiGetVisible(GUIEditor.window[5])==false then openwnd(GUIEditor.window[5]) else clwndo(GUIEditor.window[5]) end ) اتمنى تستفيدو معليش على قدي
    1 point
  5. مشكور وجزاك الله كل خير تمت الافادة @#Soking
    1 point
  6. ` wnd = guiCreateWindow(0.33, 0.27, 0.34, 0.46, "News", true) guiWindowSetSizable(wnd, false) guiSetVisible(wnd,false) gridNews = guiCreateGridList(0.03, 0.07, 0.94, 0.69, true, wnd) guiGridListAddColumn(gridNews, "News", 0.9) Edarh = guiCreateButton(0.02, 0.80, 0.09, 0.10, "ادارة", true, wnd) ButtonClose = guiCreateButton(82, 398, 319, 50, "Close", true, wnd ) EdarahWindow = guiCreateWindow(0.32, 0.29, 0.37, 0.16, "ادارة", true) guiWindowSetSizable(EdarahWindow, false) guiSetProperty(EdarahWindow, "CaptionColour", "FFFE0000") guiSetVisible(EdarahWindow,false) SendEdit = guiCreateEdit(0.03, 0.21, 0.95, 0.21, "", true, EdarahWindow) SendBTN = guiCreateButton(0.24, 0.52, 0.54, 0.15, "أرسال التحديث", true, EdarahWindow) guiSetProperty(SendBTN, "NormalTextColour", "FFFDB300") Close_BTN = guiCreateButton(0.66, 0.41, 0.02, 0.03, "X", true,EdarahWindow) function aOpen( ) guiSetVisible( wnd, not guiGetVisible( wnd ) ) showCursor( guiGetVisible( wnd ) ) end bindKey('x','down',aOpen) showCursor ( false ) addEventHandler("onClientGUIClick",root, function ( ) if ( source == Edarh ) then guiSetVisible(EdarahWindow,true) guiSetVisible(wnd,false) elseif ( source == Close_BTN ) then guiSetVisible(EdarahWindow,false) guiSetVisible(wnd,true) showCursor(true) elseif ( source == ButtonClose ) then guiSetVisible(EdarahWindow,false) guiSetVisible(wnd,false) showCursor(false) end end ) addEventHandler("onClientGUIClick", SendBTN, function ( ) aZText = guiGetText(SendEdit) if ( aZText == "" ) or ( aZText == " " ) then return end triggerServerEvent ( 'Event' , localPlayer , aZText ) guiSetVisible ( EdarahWindow , false ) guiSetVisible ( wnd , true ) showCursor ( false ) end , false ) addEventHandler('onClientResourceStart' , resourceRoot , function ( ) triggerServerEvent ( 'EventS' , localPlayer ) end ) guiSetFont( gridNews , "default-bold-small") addEvent('addText' , true ) addEventHandler('addText' , getRootElement ( ), function ( ) local aRow2 = guiGridListAddRow ( gridNews ) guiGridListSetItemText ( gridNews , aRow2 , 1 , aZText , false , false ) guiGridListSetItemColor ( gridNews , aRowz , 1 , math.random ( 255 ), math.random ( 255 ), math.random ( 255 ) ) end ) addEvent('EventT2' , true ) addEventHandler('EventT2' , getRootElement ( ), function ( Value ) for Value1 , Value2 in ipairs ( Value ) do local aRowz = guiGridListAddRow ( gridNews ) guiGridListSetItemText ( gridNews , aRowz , 1 , Value2.aRows , false , false ) guiGridListSetItemColor ( gridNews , aRowz , 1 , math.random ( 255 ), math.random ( 255 ), math.random ( 255 ) ) end end ) دا كلينت , راح يوضح لك الخط + يعدلك الون ~_~
    1 point
  7. @MR.S3D You didn't get me, Opening the GUI works perfectly fine, but when there are many people on logging screen, if one guy clicks "Login" button, The Login GUI Disappears for everyone who were on login gui ps: it got solved automatically, lol
    1 point
  8. --Client wnd = guiCreateWindow(0.33, 0.27, 0.34, 0.46, "News", true) guiWindowSetSizable(wnd, false) guiSetVisible(wnd,false) gridNews = guiCreateGridList(0.03, 0.07, 0.94, 0.69, true, wnd) guiGridListAddColumn(gridNews, "News", 0.9) Edarh = guiCreateButton(0.02, 0.80, 0.09, 0.10, "ادارة", true, wnd) ButtonClose = guiCreateButton(82, 398, 319, 50, "Close", true, wnd ) EdarahWindow = guiCreateWindow(0.32, 0.29, 0.37, 0.16, "ادارة", true) guiWindowSetSizable(EdarahWindow, false) guiSetProperty(EdarahWindow, "CaptionColour", "FFFE0000") guiSetVisible(EdarahWindow,false) SendEdit = guiCreateEdit(0.03, 0.21, 0.95, 0.21, "", true, EdarahWindow) SendBTN = guiCreateButton(0.24, 0.52, 0.54, 0.15, "أرسال التحديث", true, EdarahWindow) guiSetProperty(SendBTN, "NormalTextColour", "FFFDB300") Close_BTN = guiCreateButton(0.66, 0.41, 0.02, 0.03, "X", true,EdarahWindow) function aOpen( ) guiSetVisible( wnd, not guiGetVisible( wnd ) ) showCursor( guiGetVisible( wnd ) ) end bindKey('x','down',aOpen) showCursor ( false ) addEventHandler("onClientGUIClick",root, function ( ) if ( source == Edarh ) then guiSetVisible(EdarahWindow,true) guiSetVisible(wnd,false) elseif ( source == Close_BTN ) then guiSetVisible(EdarahWindow,false) guiSetVisible(wnd,true) showCursor(true) elseif ( source == ButtonClose ) then guiSetVisible(EdarahWindow,false) guiSetVisible(wnd,false) showCursor(false) end end ) addEventHandler("onClientGUIClick", SendBTN, function ( ) local Text = guiGetText(SendEdit) if ( Text == "" ) or ( Text == " " ) then return end Row = guiGridListAddRow ( gridNews ) guiGridListSetItemText ( gridNews , Row , 1 , Text , false , false ) triggerServerEvent ( 'Event' , localPlayer , Text ) guiSetVisible ( EdarahWindow , false ) guiSetVisible ( wnd , true ) showCursor ( false ) end , false ) addEventHandler('onClientResourceStart' , resourceRoot , function ( ) triggerServerEvent ( 'EventS' , localPlayer ) end ) addEvent('EventT2' , true ) addEventHandler('EventT2' , getRootElement ( ), function ( Value ) for Value1 , Value2 in ipairs ( Value ) do guiGridListSetItemText ( gridNews , guiGridListAddRow ( gridNews ) , 1 , Value2.aRows , false , false ) end end ) --Server executeSQLQuery ( 'CREATE TABLE IF NOT EXISTS aSoking ( aRows )' ) addEvent('Event', true ) addEventHandler('Event' , getRootElement ( ) , function ( aText ) executeSQLQuery( 'INSERT INTO aSoking VALUES ( ? )' , aText ) end ) addEvent('EventS', true ) addEventHandler('EventS' , getRootElement ( ) , function ( ) Value = executeSQLQuery( 'SELECT * FROM aSoking' ) if ( #Value ~= 0 ) then triggerClientEvent ( source , 'EventT2' , source , Value ) end end ) [Click and drag to move]
    1 point
  9. ماشوف انك تحفظ كلام ماله داعي ويعلق عليك السيرفر خل التعديل من نفس المود lua وتخش الأستضافه وتعدل وتسوي ريفرش وريستارت بس اذا تبي طرق للحفظ من ضمنها xml
    1 point
  10. الافا كان الزر موجود بس ماله شفافيه
    1 point
  11. عشان تسوي اظهار للكل معليش لكن كود كامل صعبه أسوي لك الكود بسيط حاول تبحث وتفتح الويكي وتعتمد على نفسك بالتوفيق ذذ
    1 point
  12. علي العموم يعطيك الف عافية علي المجهود اللي تعبتة معي.. ادري اني تعبتك وتعبت الناس الثانية, انشاء الله بيجي احد وبيفيدني
    1 point
  13. مايظهر لانك , ماسترجعت الكلام من السي كيو ال , ورجعت حطيته بالجريد ليست ضض
    1 point
  14. اها انا فهمت طلبه غلط انا فهمت يبي يرسل قيمه محفوظه من السيرفر يحطها بجريد لست +_+
    1 point
  15. addEventHandler("onClientGUIClick",resourceRoot,function ( ) if source == GUIEditor.button[1] then triggerServerEvent("car",localPlayer,411) -- ايدي end end ) Cars = {} addEvent("car",true) addEventHandler("car",root, function ( ID ) if ( Cars[client] ) then destroyElement(Cars[client]) end if ( getPedOccupiedVehicle(client) ) then removePedFromVehicle ( client ) end Cars[client] = createVehicle(ID,-1254.31653, -185.36768, 15.14844) warpPedIntoVehicle ( client, Cars[client] ) end )
    1 point
  16. It will always be true, unless there's no connection, check the results by getting the table length returned from dbPoll as I said.
    1 point
  17. https://github.com/Necktrox/mta-discord-bot/commit/da6cd936a57ef106b2c612fd7dec0bc893de216c Fixed, I didn't test this part of the code, because I modified my config to include the "Bot " prefix and never tested it without it. Sorry for any inconvenience.
    1 point
  18. local database = dbConnect ( "sqlite", "MSG_DB.db" ) dbExec ( database, "CREATE TABLE IF NOT EXISTS `MSG` (`TXT`)") saveTheMessage = function ( text ) if text then local db = dbPoll ( dbQuery ( database, "SELECT * FROM `MSG`" ), -1 ) if #db > 0 then dbExec ( database, "UPDATE `MSG` SET `TXT`=?", tostring(text) ) else dbExec ( database, "INSERT INTO `MSG` VALUES(?)", tostring(text) ) end end end getTheMessage = function ( ) local message = "" local db = dbPoll ( dbQuery ( database, "SELECT * FROM `MSG`" ), -1 ) if #db > 0 then message = tostring(db[1].TXT) end return message end طريقة الإستخدام؟ saveTheMessage ( text ) saveTheMessage ( "WELCOME" ) -- message = getTheMessage ( )
    1 point
  19. Alright, have we reached the point, that the work on this can start? A lot of time has passed. Don't wait months to decide something, few months later we'll be doing something else.
    1 point
  20. Link to the project http://gtaforums.com/topic/733982-fastman92-limit-adjuster/
    1 point
  21. ايه حتى انا ابي اكواد للشوب ابي كود ارسال بيتزا و ابي كود ارسال بيبسي و ابي كود سوبر بيتزا و ابي كود سوبر خشم
    1 point
  22. كل شي له وظايف محددة عشان تقدر تستفيد منه guiGridListAddRow > هذي عشان تضيف سطر guiGridListAddColumn > هذي عشان تضيف عمود guiGridListSetItemText > هذي عشان تسمي غرض في القريد guiGridListGetItemText > هذي عشان تجيب إسم غرض في القريد guiGridListGetSelectedItem > هذي عشان تجيب الغرض المحدد عليه من القريد guiGridListSetSelectedItem > هذي عشان تحدد الغرض إللي تبيه في القريد و الوظايف حقته كثيرة بس هذي بعضها و بعدها سوي جدول بالأشياء إللي تبغى تضيفها GUIEditor سوي القريد بالـ و بعدين سوي لووب للجدول و أضيف القيم مع سطر لكل قيمة وبعدين أضيف مع حدث ضغط زر مثلا إنك تجيب العنصر المختار و بعدين تجيب إسمه و تسوي الوظيفة المطلوبة وترى القريد سهل ما يحتاج له بس إنت لا تحسس نفسك إنه معقد ويمشي معك إن شاء الله ذذ
    1 point
  23. MTA is celebrating it's first first year. A lot has happend in the past year, and we made a small summary about it on http://1-year.mtavc.com. On that same site you will find a new movie. This movie shows footage from the past year. Going from GTA3:AM over MTA:VC to GTA3:MTA 0.4. MTA has come far in the past year. More than 3 milion visitors on the site, and most clients downloaded more then 100 000 times on our site alone. We therefore want to thank the community who has supported us trough the past 12 months. It was not easy and we would not be here without all of you. I would say : up to the next 12 months, and that there may come a lot of good releases.
    1 point
×
×
  • Create New...