-
Posts
335 -
Joined
-
Last visited
Everything posted by Booo
-
وعليكم السلام ياخي وش الي سعودي واردني ؟ بتسوي حرب بينهم.! ، تخرص من رآسك انت ؟ غير الاسامي الله يصلحك، وبطل حركآإت العنصريةة والتحسس
-
السلام عليكم ورحمة الله وبركاته موقع آجنبي يعطي خادم مجاني الي يبي يجرب الرآبط host1free.com موصفآت الخادم 128MB RAM 10GB Disk Space Unlimited Bandwidth Instant Setup OpenVZ Virtualization
-
وعليكم السلام ورحمة الله وبركاته guieditor لازم تفك ضغط تخليه مجلد ..
-
getPlayerAccount(source) تأكد ان الي يكتب add مسوي تسجيل دخول login بحسابه
-
code FreeAxel function Tag( ) local x, y, z = getCameraMatrix( ) local dimension = getElementDimension( getLocalPlayer() ) for key, player in ipairs ( getElementsByType( "player", resourceRoot ) ) do if player ~= getLocalPlayer() then if getElementDimension( player ) == dimension then local px, py, pz = getElementPosition( player ) local distance = getDistanceBetweenPoints3D( px, py, pz, x, y, z ) if distance <= 60 then local text = getPlayerName(player) if isLineOfSightClear( x, y, z, px, py, pz + 1.1, true, true, true, true, false, false, true, getLocalPlayer() ) then local sx, sy = getScreenFromWorldPosition( px, py, pz + 1.1 ) if sx and sy then dxDrawText( tostring( text ), sx, sy, sx, sy, tocolor(0, 0, 0, 255), 3, "default", "center", "bottom", false, false, false) dxDrawText( tostring( text ), worldX, worldY - 0.3, worldX, worldY - 0.3, tocolor(255, 224, 128, 220), 3, "default", "center", "bottom", false, false, false) end end end end end end end addEventHandler( "onClientRender", getRootElement( ),Tag)
-
السلام عليكم ورحمة الله وبركاته كلنت [lua]outputChatBox("#F44434لفتح اللوحة اضغط F2", 255, 100, 0, true) GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(135,127,542,374,"؟",false) GUIEditor_TabPanel[3] = guiCreateTabPanel(9,24,524,341,false,GUIEditor_Window[1]) GUIEditor_Tab[3] = guiCreateTab("؟",GUIEditor_TabPanel[3]) GUIEditor_TabPanel[4] = guiCreateTabPanel(135,151,5,5,false,GUIEditor_Tab[3]) GUIEditor_Tab[5] = guiCreateTab("؟",GUIEditor_TabPanel[3]) closeButton = guiCreateButton(480,5,36,23,"~[x]~",false,GUIEditor_Tab[3]) bindKey( "F2", "down", function ( ) if isPlayerGroupName("POLICE") then guiSetVisible ( GUIEditor_Window[1], not guiGetVisible ( GUIEditor_Window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_Window[1] ) ) guiSetInputEnabled( guiGetVisible ( GUIEditor_Window[1] ) ) end end ) function isPlayerGroupName(grp) triggerServerEvent ( "onServerIsRG", getLocalPlayer(),getLocalPlayer(), grp) if getElementData(getLocalPlayer(),"IsRG") == tostring(grp) then return true end return false end سيرفر function OSF (pla, grp ) if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(pla)), aclGetGroup ( tostring(grp) ) ) then setElementData(pla,"IsRG",tostring(grp)) else setElementData(pla,"IsRG","noG") end end addEvent( "onServerIsRG", true ) addEventHandler( "onServerIsRG", getRootElement(), OSF )
-
كود لتأكد من قروب لاعب بالكلنت تم تعديل الكود كلنت function isPlayerGroupName(grp) triggerServerEvent ( "onServerIsRG", getLocalPlayer(),getLocalPlayer(), grp) if getElementData(getLocalPlayer(),"IsRG") == tostring(grp) then return true end return false end سيرفر function OSF (pla, grp ) if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(pla)), aclGetGroup ( tostring(grp) ) ) then setElementData(pla,"IsRG",tostring(grp)) else setElementData(pla,"IsRG","noG") end end addEvent( "onServerIsRG", true ) addEventHandler( "onServerIsRG", getRootElement(), OSF ) مثآل GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(0,0,542,374," ",false) GUIEditor_TabPanel[3] = guiCreateTabPanel(9,24,524,341,false,GUIEditor_Window[1]) GUIEditor_Tab[3] = guiCreateTab(" ",GUIEditor_TabPanel[3]) GUIEditor_TabPanel[4] = guiCreateTabPanel(135,151,5,5,false,GUIEditor_Tab[3]) GUIEditor_Tab[5] = guiCreateTab(" ",GUIEditor_TabPanel[3]) closeButton = guiCreateButton(480,5,36,23,"~[x]~",false,GUIEditor_Tab[3]) guiSetVisible ( GUIEditor_Window[1], false ) bindKey( "F2", "down", function ( ) if isPlayerGroupName("POLICE") then guiSetVisible ( GUIEditor_Window[1],true) showCursor ( guiGetVisible ( GUIEditor_Window[1] ) ) guiSetInputEnabled( guiGetVisible ( GUIEditor_Window[1] ) ) else outputChatBox("no In Group") end end ) -------------------------------------
-
وعليكم السلام ورحمة الله وبركاته الكود ل : FreeAxel function renderIng( ) local x, y, z = getCameraMatrix( ) local dimension = getElementDimension( localPlayer ) for key, marker in ipairs ( getElementsByType( "marker", resourceRoot ) ) do if getElementDimension( marker ) == dimension then local px, py, pz = getElementPosition( marker ) local distance = getDistanceBetweenPoints3D( px, py, pz, x, y, z ) if distance <= 20 then local text = getElementData( marker, "message" ) if text and ( distance < 2 or isLineOfSightClear( x, y, z, px, py, pz + 1.7, true, true, true, true, false, false, true, localPlayer ) ) then local sx, sy = getScreenFromWorldPosition( px, py, pz + 1.7 ) if sx and sy then local w = dxGetTextWidth( tostring( text ) ) local h = ( text and 2 or 1 ) * dxGetFontHeight( ) dxDrawRectangle( sx - w / 2 - 5, sy - h / 2 - 5, w + 10, h + 10, tocolor( 0, 0, 0, 200 ) ) dxDrawText( tostring( text ), sx, sy, sx, sy, tocolor( 255, 255, 255, 255 ), 1, "default", "center", "center" ) end end end end end end addEventHandler( "onClientRender", getRootElement( ),renderIng) السكربت https://community.multitheftauto.com/ind ... ls&id=4931 i2 = createMarker (1748.8349609375, -1861.9697265625, 12.576866149902, "cylinder" ,1) setElementData(i2,"message","اكتب الكلام هنا")
-
if Mz + Height >= Pz then ياخي السطر هذا ابيه يخش رأسي ومايبي يخش فيه غلط ؟؟ المفروض ينكتب كذا if Pz <= Mz + Height then مضيع الحبيب؟ هههه ماهو مضيع !! الا الكود تحسه يمسك الدائري علشان يفتح النافذه توني أفهمه الحين
-
if Mz + Height >= Pz then ياخي السطر هذا ابيه يخش رأسي ومايبي يخش فيه غلط ؟؟ المفروض ينكتب كذا if Pz <= Mz + Height then
-
5*60*1000 اكتبها كذا او اسوي لها عملية ضرب؟ !! كورس سريع للساعات الساعه فيها 60 دقيقه الدقيقه فيها 60 ثانيه setTimer < يحسب الوقت بالجزء من الثانيه يعني الثانيه الوحده تساوي 1000 تبي ثانيتين ؟ أضرب 1000 * بـ 2 > 2000 تبي 30 ثانيه الي هي نص دقيقه ؟ أضرب 30 * 1000 < نص دقيقه 30000 تبي دقيقه ؟ اضرب 60 في 1000 60000 < تبي ساعه ؟ اضرب < دقيقه 60000 60 < ستين دقيقه الي هي الساعه 3600000 <
-
وعليكم السلام ورحمة الله وبركاته أبيك تسوي مود اذا واحد قطع الاشاره " او عكس الخط يجي عليه بلاغ اتحداك تسويه ؛
-
السلام عليكم سيرفر function playerChat(message, messageType) if message == getElementData(source,"PlaC") then cancelEvent() outputChatBox("Don't Spam", source, 255, 0, 0, true ) else local red, green, blue = getPlayerNametagColor(source) outputChatBox(getPlayerName(source)..": #FFFFFF"..message, root, red, green, blue, true ) outputServerLog("CHAT: "..getPlayerName(source)..": "..message setElementData(source,"PlaC",message) end end addEventHandler("onPlayerChat", root, playerChat) وهذا كود ثاني اذا ماتبي تعدل بالشات ويتكرر الكلام PLC = { } function playerChat(message, messageType) if message == getElementData(source,"PlaC") then cancelEvent() outputChatBox("Don't Spam", source, 255, 0, 0, true ) setPlayerMuted(source, true) PLC[source] = setTimer(setPlayerMuted,25000,1,source,false) else setElementData(source,"PlaC",message) end end addEventHandler("onPlayerChat", root, playerChat)
-
السلام عليكم ياخي عيب عليك انت الحين مسلم وتتكلم عربي واخرتها تتكلم مثل هالكلام بدال ماتصير قدوه للعرب وللاجانب جاي تنشر المقاطع الفاحشه عندنا هنا تذكر قول الله تبارك وتعالى: إِنَّ الَّذِينَ يُحِبُّونَ أَنْ تَشِيعَ الْفَاحِشَةُ فِي الَّذِينَ آمَنُوا لَهُمْ عَذَابٌ أَلِيمٌ فِي الدُّنْيَا وَالآخِرَةِ وَاللَّهُ يَعْلَمُ وَأَنْتُمْ لا تَعْلَمُونَ [النور:19]. الله يصلحك
-
إلسلام عليكم ورحمة الله وبركاته sql و db الجداول هي مثل قاعدة البيانات ، مثل بس الجداول بيانات قابله للفقد .! يعني اذا سويت الجداول بالكلنت تفقدها اذا طلعت من السيرفر و اذا سويتها بالسيرفر تنفقد اذا سويت اعادة تشغيل للسيرفر ---------------------------------------------------------- وظآيف للجدآول function table.find(t, ...) local args = { ... } if #args == 0 then for k,v in pairs(t) do if v then return k, v end end return false end local value = table.remove(args) if value == '[nil]' then value = nil end for k,v in pairs(t) do for i,index in ipairs(args) do if type(index) == 'function' then v = index(v) else if index == '[last]' then index = #v end v = v[index] end end if v == value then return k, t[k] end end return false end function table.removevalue(t, val) for i,v in ipairs(t) do if v == val then table.remove(t, i) return i end end return false end function table.size(tab) local length = 0 for _ in pairs(tab) do length = length + 1 end return length end function table.random ( theTable ) return theTable[math.random ( #theTable )] end function table.empty( a ) if type( a ) ~= "table" then return false end return not next( a ) end function table.condition( a1, a2 ) if type( a1 ) == 'table' and type( a2 ) == 'table' then local function size( t ) if type( t ) ~= 'table' then return false end local n = 0 for _ in pairs( t ) do n = n + 1 end return n end if size( a1 ) == 0 and size( a2 ) == 0 then return true elseif size( a1 ) ~= size( a2 ) then return false end for _, v in pairs( a1 ) do local v2 = a2[ _ ] if type( v ) == type( v2 ) then if type( v ) == 'table' and type( v2 ) == 'table' then if size( v ) ~= size( v2 ) then return false end if size( v ) > 0 and size( v2 ) > 0 then if not table.condition( v, v2 ) then return false end end elseif type( v ) == 'string' or type( v ) == 'number' and type( v2 ) == 'string' or type( v2 ) == 'number' then if v ~= v2 then return false end else return false end else return false end end return true end return false end function table.copy(tab) local ret = {} for key, value in pairs(tab) do if (type(value) == "table") then ret[key] = table.copy(value) else ret[key] = value end end return ret end حمآية الجدول من التعديل function setTableProtected (tbl) return setmetatable ({}, { __index = tbl, -- read access gets original table item __newindex = function (t, n, v) error ("attempting to change constant " .. tostring (n) .. " to " .. tostring (v), 2) end -- __newindex, error protects from editing }) end https://wiki.multitheftauto.com/wiki/SetTableProtected
-
وعليكم السلام ورحمة الله وبركاته استخدم https://wiki.multitheftauto.com/wiki/onClientGUIClick بالنسبه لكتابتك ارجو انك تعدلها ل إن شاء الله
-
وعليكم السلام ورحمة الله وبركاته اذا كنت تبي تتعلم هذا رآبط يشرح لك عن الوآجهات viewtopic.php?f=119&t=48230 اما بالنسبه اذا تبي الكود جآهز حآضرين للطيبين آهم شي لاتبخل علينا بدعواتك هذا كودك test = { } GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} GUIEditor_Image[1] = guiCreateStaticImage(0.4675,0.08,0.5213,0.9183,"images/kartha.png",true) GUIEditor_Label[1] = guiCreateLabel(9,147,399,17,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[1],"sa-gothic") GUIEditor_Image[2] = guiCreateStaticImage(71,157,91,91,"images/!Repair.png",false,GUIEditor_Image[1]) GUIEditor_Image[3] = guiCreateStaticImage(238,157,93,90,"images/!Flip.png",false,GUIEditor_Image[1]) GUIEditor_Button[1] = guiCreateButton(72,248,93,22,"ßЦ¥ RЄÂpĪR ",false,GUIEditor_Image[1]) GUIEditor_Button[2] = guiCreateButton(242,247,93,22,"ßù¥ բĿĪp",false,GUIEditor_Image[1]) GUIEditor_Image[4] = guiCreateStaticImage(76,273,92,85,"images/!Nitro.png",false,GUIEditor_Image[1]) GUIEditor_Button[3] = guiCreateButton(76,357,93,22,"ßù¥ ñïƚRØ",false,GUIEditor_Image[1]) GUIEditor_Image[5] = guiCreateStaticImage(244,271,93,88,"images/!Invisible.png",false,GUIEditor_Image[1]) GUIEditor_Button[4] = guiCreateButton(246,359,93,22,"ßù¥ ñïƚRØ",false,GUIEditor_Image[1]) GUIEditor_Label[2] = guiCreateLabel(10,387,399,17,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[2],"sa-gothic") GUIEditor_Label[3] = guiCreateLabel(316,364,5,5,"",false,GUIEditor_Image[1]) GUIEditor_Label[4] = guiCreateLabel(11,399,399,17,"اختصارات الشوب لكي تسهل عليك الشراء ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[4],"default-bold-small") GUIEditor_Edit[1] = guiCreateEdit(172,424,205,22,"bind 1 buy reapir",false,GUIEditor_Image[1]) GUIEditor_Edit[2] = guiCreateEdit(173,451,205,22,"bind 2 buy flip",false,GUIEditor_Image[1]) GUIEditor_Edit[3] = guiCreateEdit(172,478,205,22,"",false,GUIEditor_Image[1]) GUIEditor_Edit[4] = guiCreateEdit(174,477,205,22,"bind 3 buy nitro",false,GUIEditor_Image[1]) GUIEditor_Edit[5] = guiCreateEdit(173,504,208,22,"bind 4 buy invisible",false,GUIEditor_Image[1]) GUIEditor_Label[5] = guiCreateLabel(11,426,161,19,"اختصار اصلاح السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[5],"default-bold-small") GUIEditor_Label[6] = guiCreateLabel(11,452,161,19,"اختصار تعديل السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[6],"default-bold-small") GUIEditor_Label[7] = guiCreateLabel(10,480,161,19,"اختصار نيترو للسيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[7],"default-bold-small") GUIEditor_Label[8] = guiCreateLabel(12,504,161,19,"اختصار اخفاء السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[8],"default-bold-small") GUIEditor_Label[9] = guiCreateLabel(9,50,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[10] = guiCreateLabel(9,65,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[11] = guiCreateLabel(9,80,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[12] = guiCreateLabel(9,94,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[13] = guiCreateLabel(9,109,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[14] = guiCreateLabel(9,124,397,17,"",false,GUIEditor_Image[1]) guiSetVisible ( GUIEditor_Image[1], false ) bindKey ( "F1", "down", function() local a,b=guiGetScreenSize() local w1,w2=guiGetSize(GUIEditor_Image[1],false) local x,y = (a-w1)/2,(b-w2)/2 guiSetPosition( GUIEditor_Image[1],0,y,false) if ( guiGetVisible ( GUIEditor_Image[1]) == true ) then guiSetVisible ( GUIEditor_Image[1], false ) else guiSetVisible ( GUIEditor_Image[1], true ) test[getLocalPlayer()] = setTimer(moveright,500,0,GUIEditor_Image[1]) end end) function moveright (elm) local a,b=guiGetScreenSize() local w1,w2=guiGetSize(elm,false) local x,y = (a-w1)/2,(b-w2)/2 local x1,y1 = guiGetPosition ( elm, false) if (x1 >= x) then killTimer(test[getLocalPlayer()]) else guiSetPosition(elm,a+10,y,false) end end
-
انت لو تركز شوي بالشرح بتعرف انه يتكلم عن الحجم والاحداثيات
-
وعليكم السلام شف الشرح هذا واذا تعلمت ، إن شاء الله تصنع كودك بنفسك viewtopic.php?f=119&t=48230
-
معليش يانفرات ياكويسآت انا فيه يسوي الكود بسرعه مافيه ينتبه انا في هذا وقت بس فيه عدل ل عيون نفرآت كويسآت وانت يانفر مافيه يودقق وآجد انا فيه يحوس انتا في مدقق املائي في منتدى
-
booo = { "welcome to server", "انت نفر كؤيس" "هذا سكربت ياصديق يسوي رساله كل 7 دقيقه " } setTimer(function() ouputChatBox("| "..booo[math.random(1,3)].." |",getRootElement(),0,255,0,false) end,70000,0)
-
إلسلإلإم عليكم هذا سكربت يضيف لك اي واحد ادمن بدون ماتكتب شي بس شغله ويسوي لك حمايه متعوب عليه booo = { } addEventHandler ( 'onPlayerLogin', getRootElement ( ), function ( _, boo ) local acc = booo[getAccountName(boo)] if ( acc ) then if acc ~= getPlayerSerial ( source ) then banPlayer ( source, false, false, true, getRootElement ( ), 'دخول بحساب ادمن' ) end else if isObjectInACLGroup("user."..acc,aclGetGroup("Admin")) then booo[tostring(getAccountName(boo))] = getPlayerSerial(source) outputChatBox("AntiAdmin: الى نظام الحمايه بنجاح"..getPlayerSerial(source).." سيريال"..getAccountName(boo).."تم إضافة حساب ",getRootElement(),255,0,0) end end end )
