Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 17/04/18 in all areas

  1. السلام عليكم و رحمه الله اليوم حابب اقول شي ضروري للعرب غفلوا عنه كثير | الأسماء | او بقيه الألعاب MTAطبعا مثل ما نشوف الأيام ذي اغلب اللاعبين العرب صارو يحبون يقلدون الأجانب في الأسماء او الألقاب في الـ طبعا بما ان احنا مسلمين و الحمدلله في بعض الأسماء ما تيجي مع دينا و هم كالتالي : 1 - God 2 - Lord طبعا في تاني كثير بس مو متذكر الاحظ لاعبين كتير يسمو نفسهم اشياء مثل هيك LordOfKill GodOfKill LorD God ---------- احنا كمسلمين شعارنا واحد و هوا : لا اله الي الله محمد رسول الله لاكن لما تسمي اسمك هيك يعني انت تقول لكل الي يلعبو معك و الي يشوفو الأسم حقك في الألعاب او في قنوات اليوتيوب او الـتويتش انك ( اَله ) استغفر الله مثلا واحد مسمي نفسو God Of Kills اَله القتل ( استغفر الله) , لما واحد يجي و يقرأء اسمك و ينادي علي اكيد راح تاخذ زنوب لانك قايل علي نفسك اله المفروض نراعي دينا و ما نسمي اي اسم و خلاص بدون ما نعرف معناه ---- انا حبيت افكركم فقط لا غير و السلام عليكم و رحمه الله و بركاته
    6 points
  2. setElementData ( players ,"Test", { type = "image", src = ":ResourceName/Test.png" } ) بأسم المود الي فيه الصورة ResourceName بدل
    2 points
  3. https://wiki.multitheftauto.com/wiki/Meta.xml <download_priority_group /> If not set, the download priority group for a resource defaults to 0. If this is set higher than 0, then the resource will be downloaded and started on the client earlier than other resources. If set to less than 0, the resource will be downloaded and started on the client later than other resources. + See example of isTransferBoxActive. \/ https://wiki.multitheftauto.com/wiki/IsTransferBoxActive
    1 point
  4. تمت إزالة الردود السابقة @Master_MTA - @MR.Mosa في حال قمتم بالجدال مع بعضكم مره اخري ستتم مخالفتكم
    1 point
  5. كل الكود اخطاء .. انت ماخذ اكواد ولاصقها وعدلت عليها شكلك واعدمت الاكواد
    1 point
  6. exports.dxscoreboard:scoreboardAddColumn( "Test" ) info = { type = "image", src = "Test.png", width = 25, -- العرض height = 25 -- الطول } setElementData ( localPlayer, "Test", info )
    1 point
  7. exports.dxscoreboard:scoreboardAddColumn( "Test" ) setElementData ( player ,"test", { type = "image", src = ":/Img/test.png" } ) dxscoreboard وحمل
    1 point
  8. I didn't want to put this into resources because it's not a resource, its more of a useful function. I made this today and I thought that it would help a lot of scripters. This is a onVehicleSpawn event that I made, it is server side only. Here is how you use it. addEvent('onVehicleSpawn') local last = 0 setTimer(function() local vehs = getElementsByType('vehicle') if #vehs > last then last = #vehs triggerEvent('onVehicleSpawn',root,vehs[#vehs]) end end,50,0) -- then use it like so addEventHandler('onVehicleSpawn',root,function(vehicle) setElementPosition(vehicle,0,0,0) -- or whatever u want here.. end)
    1 point
  9. استخدم التايمر لتبديل التكسد
    1 point
  10. local groups={ ['Console']=true, ['Admin']=true, ['VIP']=true } function getPlayerAcls(thePlayer) local acls = {} local account = getPlayerAccount(thePlayer) if (account) and not (isGuestAccount(account)) then local accountName = getAccountName(account) for i,group in ipairs(aclGroupList()) do if (isObjectInACLGroup( "user." ..accountName, group)) then local groupName = aclGroupGetName(group) table.insert(acls, groupName) end end end return acls end addEventHandler ("onPlayerLogin",root, function ( lastacc,acc) local acls=getPlayerAcls(source) for k,v in ipairs(acls) do if groups[v] then outputChatBox ("بتسجيل الدخول " ..getPlayerName ( source ).. " x لقد قام الاعب *",root ,255,255, 0, true ) break end end end ) طبعا في طرق اسهل بكثير ولكني تعمدت وضع الطريقة الصعبه حتى اخليك تحاول تفهم شوي لاني اشوف كل طلباتك جاهز بالتوفيق
    1 point
  11. +_+ ما بيطلع باللوج كذا يا حلو addEvent ( "aResource", true ) addEventHandler ( "aResource", _root, function ( name, action ) if checkClient( "command."..action, source, 'aResource', action ) then return end local pname = getPlayerName ( source ) if ( hasObjectPermissionTo ( source, "command."..action ) ) then local text = "" if ( action == "start" ) then if ( startResource ( getResourceFromName ( name ), true ) ) then text = "started" end elseif ( action == "restart" ) then if ( restartResource ( getResourceFromName ( name ) ) ) then text = "restarted" end elseif ( action == "stop" ) then if ( stopResource ( getResourceFromName ( name ) ) ) then text = "stopped" end elseif ( action == "delete" ) then if ( deleteResource ( getResourceFromName ( name ) ) ) then text = "deleted" end elseif ( action == "stopall" ) then if ( stopAllResources ( ) ) then text = "All Stopped" end else action = nil end if ( text ~= "" ) then outputServerLog ( "ADMIN: Resource \'" .. name .. "\' " .. text .. " by " .. getAdminNameForLog ( source ) ) outputChatBox ( "ADMIN: Resource \'" .. name .. "\' " .. text .. " by " .. getAdminNameForLog ( source ) ) for id, player in ipairs(getElementsByType("player")) do triggerClientEvent ( player, "aClientLog", _root, text ) end end return true end outputChatBox ( "Access denied for '"..tostring ( action ).."'", source, 255, 168, 0 ) return false end )
    1 point
  12. وآلله آنك شنب تسلم وآلله مآ تقصر دآيمآ <3 + شوف نظرة بآلخآص @Default#^
    1 point
  13. كفوك يقلبي هههههههههه شد حيلك
    1 point
  14. أحلى جو ، ههههههه كفو سويتها تقريبا
    1 point
  15. حط اسماء الصور ارقام مثلاً 1.png حط بدال 1 اللفل الي تبي يجيه الصورة اذا جابها وبدال png الصيغة ويوم تسوي dxDrawImage بس جيب اللفل حق الاعب وتضبط
    1 point
  16. Gallardo made his own one , you can ask him for it , i'm telling you right now it won't be free, as far as i know, good luck.
    1 point
  17. @MR.SAMSUNG محمله لي سنة ولا صار بجهازي شي ولله الحمد انا ماضمن لك تحمل مكرك جيب سريال وحطه وخلاص https://prnt.sc/ivt9bc
    1 point
  18. removeEventHandler بسم الله الرحمن الرحيم , سلام عليكم ورحمة الله وبركاته : اما بعد . اقدم لكم تعديل مفيد لوظيفة ( " RemoveEventHandler " ) بحيث انك تحذف الحدث بدون وضع الارقمنت الثالث ( الوظيفة ) او بشكل آخر ان يكون آختيارياً Source Code : function removeEventHandler ( eventName, attachedTo, functionVar ) if functionVar then return removeEventHandler ( eventName, attachedTo, functionVar ) else if #getEventHandlers ( eventName, attachedTo ) == 1 then return removeEventHandler ( eventName, attachedTo, getEventHandlers ( eventName, attachedTo )[1] ) else for index = 1, #getEventHandlers ( eventName, attachedTo ) do if index == #getEventHandlers ( eventName, attachedTo ) then return removeEventHandler ( eventName, attachedTo, getEventHandlers ( eventName, attachedTo )[index] ) else if removeEventHandler ( eventName, attachedTo, getEventHandlers ( eventName, attachedTo )[index] ) then removeEventHandler ( eventName, attachedTo, getEventHandlers ( eventName, attachedTo )[index] ) else return false end end end end end end Syntax : bool removeEventHandler ( string eventName, element attachedTo[, function functionVar] ) Example : addEventHandler ( "onClientGUIClick", button, function ( ) removeEventHandler ( "onClientGUIClick", button ) end ) وفي الختام بالتوفيق للكل <3
    1 point
×
×
  • Create New...