-
Posts
738 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Dr.Marco
-
في اول مطاف لاي مبرمج كان يعتمد على اكواد جاهزة ولا اشوف اي مانع في موضوع هدا
-
ابكي ولا اضحك ,,,???
-
اخوي الغلط بسطر 66 جيب كود كامل عشان نساعدك
-
Mta:sa | Weather System | مود تغير الجو اف9
Dr.Marco replied to |=>Z,3(^e^)_M_<=|[2]'s topic in المساهمات
بتوفيق -
متال سيرفر من ويكي function startImageDownload( playerToReceive ) fetchRemote ( "http://www.example.com/image.jpg", myCallback, "", false, playerToReceive ) end function myCallback( responseData, errno, playerToReceive ) if errno == 0 then triggerClientEvent( playerToReceive, "onClientGotImage", resourceRoot, responseData ) end end https://wiki.multitheftauto.com/wiki/FetchRemote + محاولتك ونحن نضبط لك الباقي
-
بحت في موضوعك لي فهمت https://wiki.multitheftauto.com/wiki/Server_Scripting_Functions#File_functions
-
احترامي لك يبرووس ومو مصدق انك تطلب طلبات ******* وانت اللي سويت لوحة التسجيل الدي اكس بدون اخطاء ومشاكل وعلى ما اظن يمديك ترد برد لائق ونهى سبحانه وتعالى عن السخرية من الآخرين فقال: (يَا أَيُّهَا الَّذِينَ آمَنُوا لَا يَسْخَرْ قَومٌ مِّن قَوْمٍ عَسَى أَن يَكُونُوا خَيْرًا مِّنْهُمْ وَلَا نِسَاء مِّن نِّسَاء عَسَى أَن يَكُنَّ خَيْرًا مِّنْهُنَّ وَلَا تَلْمِزُوا أَنفُسَكُمْ وَلَا تَنَابَزُوا بِالْأَلْقَابِ بِئْسَ الاِسْمُ الْفُسُوقُ بَعْدَ الْإِيمَانِ وَمَن لَّمْ يَتُبْ فَأُوْلَئِكَ هُمُ الظَّالِمُونَ)
-
ما تشوف انهم ساعدوه ?
-
دخلت سيرفر ولي اقدر اقول عليه انو روعة ولكن ليه ما تسوي بدل gui dx ادري ان المبرمجين يميلون لل gui ولكن زوار يميلون لل dx بنسبة للمابات شوف لكم حدا محترف تصميم و تيكسدات يسوي لكم مابات وبتنجحون بسيرفر انشاء الله بنسبة لو كانت هناك مودات كتيرة ومهمات مرة تقدرون تضيفونها في لوحة متل تحميل مخفي لما زائر يدخل بعدين يحمل مهمات لي يبي بدل ما يجيه تحميل طويل وبتوفيق مرة اخرى
-
-- Weapon Choose By Al3grab ----- lp = getLocalPlayer() rRoot = getResourceRootElement(getThisResource()) ----- addEventHandler("onClientResourceStart",rRoot,function() triggerServerEvent("getData",lp,lp) outputDebugString("Weapon Choose By Al3grab | Started") end ) addEvent("sendData",true) addEventHandler("sendData",root,function(small,med,misc) if small and med and misc then smallGuns = small mediumGuns = med miscGuns = misc WCW = guiCreateWindow(367,244,570,233,"Please Choose Weapon",false) guiSetVisible (WCW, false) guiWindowSetSizable(WCW,false) guiWindowSetMovable(WCW,false) --- Center Window --- local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(WCW,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(WCW,x,y,false) ----- Center Window ----- ButOK = guiCreateButton(18,207,256,19,"OK",false,WCW) ButC = guiCreateButton(290,207,256,19,"Cancel",false,WCW) guiBringToFront(ButC) guiBringToFront(ButOK) WCSmallGuns = guiCreateGridList(18,54,169,148,false,WCW) guiGridListSetSelectionMode(WCSmallGuns,0) local columnSG = guiGridListAddColumn( WCSmallGuns, "Small Guns", 0.55 ) local ammoSG = guiGridListAddColumn( WCSmallGuns, "Ammo", 0.20 ) if ( columnSG ) then for k,v in ipairs (smallGuns) do local jSG = guiGridListAddRow ( WCSmallGuns ) guiGridListSetItemText ( WCSmallGuns, jSG, columnSG,getWeaponNameFromID(v[1]), false, false ) guiGridListSetItemText ( WCSmallGuns, jSG, ammoSG,v[2], false, true ) end end ------- WCMGuns = guiCreateGridList(198,53,169,148,false,WCW) guiGridListSetSelectionMode(WCMGuns,0) local columnMG = guiGridListAddColumn( WCMGuns, "Medium Guns", 0.55 ) local ammoMG = guiGridListAddColumn( WCMGuns, "Ammo", 0.20 ) if ( columnMG ) then for k,v in ipairs (mediumGuns) do local jSG = guiGridListAddRow ( WCMGuns ) guiGridListSetItemText ( WCMGuns, jSG, columnMG,getWeaponNameFromID(v[1]), false, false ) guiGridListSetItemText ( WCMGuns, jSG, ammoMG,v[2], false, true ) end end ------- WCMiscGuns = guiCreateGridList(378,52,169,148,false,WCW) guiGridListSetSelectionMode(WCMiscGuns,0) local columnMSG = guiGridListAddColumn( WCMiscGuns, "Misc. Guns", 0.55 ) local ammoMSG = guiGridListAddColumn( WCMiscGuns, "Ammo", 0.20 ) if ( columnMSG ) then for k,v in ipairs (miscGuns) do local jSG = guiGridListAddRow ( WCMiscGuns ) guiGridListSetItemText ( WCMiscGuns, jSG, columnMSG,getWeaponNameFromID(v[1]), false, false ) guiGridListSetItemText ( WCMiscGuns, jSG, ammoMSG,v[2], false, true ) end end if getElementDimension(localPlayer) ~= 11 then return end function ShowWC() getVisible = guiGetVisible (WCW) if (getVisible == true) then guiSetVisible (WCW , false) guiSetVisible (ButOK , false) guiSetVisible (ButC , false) showCursor (false) end if (getVisible == false) then guiSetVisible (WCW , true) guiSetVisible (ButOK , true) guiSetVisible (ButC , true) showCursor (true) end end addEvent("ShowWC",true) addEventHandler("ShowWC",root,ShowWC) --- On Click --- function onClick (button, state, absoluteX, absoluteY) if ( source == ButOK ) then -- if the button is OK triggerServerEvent("TakeAll",lp,lp) ------- Small wep = guiGridListGetItemText (WCSmallGuns, guiGridListGetSelectedItem (WCSmallGuns), 1) ammo = guiGridListGetItemText (WCSmallGuns, guiGridListGetSelectedItem (WCSmallGuns), 2) if wep and ammo then triggerServerEvent("GiveGun",lp,lp,getWeaponIDFromName(wep),ammo) end --- Medium wep = guiGridListGetItemText (WCMGuns, guiGridListGetSelectedItem (WCMGuns), 1) ammo = guiGridListGetItemText (WCMGuns, guiGridListGetSelectedItem (WCMGuns), 2) if wep and ammo then triggerServerEvent("GiveGun",lp,lp,getWeaponIDFromName(wep),ammo) end --- Misc wep = guiGridListGetItemText (WCMiscGuns, guiGridListGetSelectedItem (WCMiscGuns), 1) ammo = guiGridListGetItemText (WCMiscGuns, guiGridListGetSelectedItem (WCMiscGuns), 2) if wep and ammo then triggerServerEvent("GiveGun",lp,lp,getWeaponIDFromName(wep),ammo) end --- Hide ShowWC() ------- elseif ( source == ButC ) then -- if the button is cancel ShowWC() ------- end end addEventHandler ("onClientGUIClick", getRootElement(), onClick) --- On Click --- end end ) setTimer(fileDelete,1000,1,"WC-C.lua")
-
MTA Dayz : [GTA-Dayz][جراند ديزي | افضل سيرفر ديزي]
Dr.Marco replied to Yr_F15's topic in Arabic / العربية
شغلكم بطل روعة روعة انشاء الله بتكون لي زيارة بسيرفر -
ضع ابعادك الثلاثية هنا ضع ابعادك الثلاثية هنا ضع ابعادك الثلاثية هنا
-
@iMr.WiFi..! بسم الله نقدم لك الدرس الاول في البرمجة الموارد (بالإنجليزية: Resources) هي كل ما يشبع حاجات الإنسان من وسائل سواء كانت بطريقة مباشرة أو غير مباشرة . هههههه
-
x[ GUIEditor Online | جيو إدتور عبر الإنترنت ]x
Dr.Marco replied to ^iiEcoo'x_)'s topic in Arabic / العربية
رووعة ولكن لعبة افضل . متشكر على طرح -
السيرفر متى يفتح ولا فتحتوه وانا ماني داري
