Jump to content

Search the Community

Showing results for tags 'تعديل'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 5 results

  1. السلام عليكم عندي كود شات تيم شبكته مع مود التاجات حقي وضبط تمام لكن فيه مشكله وحيده اذا مثلا تكلمت في تيم معين من خلال الشات الكل يشوف حتى اللي م عنده تيم يشوف الكلام ابيه انا بس اعضاء التيم اللي يشوفون كلامي وهذا الكود حقي ------------- Teams chat addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function () for index, player in pairs(getElementsByType("player")) do bindKey(player,"y","down","chatbox","Teamsay") end end) addCommandHandler("Teamsay",function (plr,cmd,msg) local playerTeam = getPlayerTeam(plr) if (playerTeam) then local r, g, b = getTeamColor (playerTeam) outputChatBox('(TEAM)#FFFFFF '..colorHex(r, g, b)..''..getPlayerName(plr):gsub("#%x%x%x%x%x%x", "") ..': #FFFFFF'.. msg,root, r, g, b, true) end end)
  2. local Pro = getLocalPlayer () GUIEditor = { label = {}, staticimage = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.staticimage[1] = guiCreateStaticImage(83, 0, 1179, 36, ":TessT/shret.png", false) GUIEditor.label[1] = guiCreateLabel(10, 0, 425, 26, "Your_Name : [ "..getPlayerName(Pro).." ] ", false, GUIEditor.staticimage[1]) local font0_The = guiCreateFont(":TessT/The.ttf", 14) guiSetFont(GUIEditor.label[1], font0_The) GUIEditor.label[2] = guiCreateLabel(433, 0, 325, 44, "Your_Ping : [ "..getPlayerPing(Pro).." ] ", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[2], font0_The) GUIEditor.label[3] = guiCreateLabel(610, 0, 217, 48, "Your_Skin : [ "..getPlayerSkin(Pro).." ]", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[3], font0_The) GUIEditor.label[4] = guiCreateLabel(817, 0, 298, 36, "Your_Money : [ "..getPlayerMoney(Pro).." ] ", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[4], font0_The) end ) bindKey(" ", down, function( ) guiSetVisible( GUIEditor.staticimage[1], true ) showCursor( false ) end ) دا مود شريط فيه معلومات الاعب البنق + الشخصية + الاسم + المصاريف ابي مثلا لو تغيرو احداثياتي يتغيرو ايضا في الشريط مثلا لما اعطيت لنفسي المصاريف 99999 يتغير من 0 الى 99999 انا لازم حتا اعمل رسترت للمود حتا يتغير
  3. السلام عليكم ورحمة الله وبركاتة, ي شباب سويت كود ودمجته في مود البرايفت سستم حق جراند الكود عبارة لما اللاعب يرسل للاعب ثاني رساله يتحقق من الرتبه والداتا ويرسلها للكونسل لكن م اشتغل -1 م توصلني الرسايل غير الي انا ارسلها 2- الرساله الي انا ارسلها تتكرر عندي 4 مرات بسبب اللوب addEvent( 'onServerSendMessage', true ); addEventHandler( 'onServerSendMessage', root, function( plr, message ) triggerClientEvent( plr, 'onClientReceiveMessage', source, source, message ) for i,v in ipairs(getElementsByType("player")) do local acc = getPlayerAccount( v ) local accName = getAccountName ( acc ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "CHS" ) ) then if ( getElementData(source, "Chat") == true ) then outputChatBox("5A9: "..getPlayerName(source)..": "..message.." . To : "..getPlayerName(plr),source,255,0,0,true) end end end end ); هذا الكود شكرا
  4. السلام عليكم ورحمة الله وبركاته جايب لكم كامري 2011 نخسة هجووله: طبعا الموتر مو من تعديلي افرفر با المجلدات و لقيته و قلت ارفعه لكم حولته من gta san andres الى mta و اخليكم مع الصور و باذن الله اعجبكم المووترر هنا راابط التحميل : https://up.top4top.net/downloadf-741nrzi41-zip.html
  5. السلام عليكم اسف طلباتي كثيرة بس والله محتاج غصب عني ده مود اطلاق الصوريخ من السيارة ابي احوله بسريلات عشان مش اي احد يطلق function shoot1() local vehicle = getPedOccupiedVehicle(localPlayer) if(vehicle) and not isCursorShowing() then local x, y, z = getElementPosition(vehicle) createProjectile(vehicle, 19, x, y, z) addEventHandler("onClientPreRender",root,pb) setTimer ( function() unbindKey("mouse1", "down", shoot1 ) setTimer(addBind1, 2900, 1) end, 50, 1 ) end end function shoot2() local vehicle = getPedOccupiedVehicle(localPlayer) if(vehicle) and not isCursorShowing() then local x, y, z = getElementPosition(vehicle) createProjectile(vehicle, 19, x, y, z) addEventHandler("onClientPreRender",root,pb2) setTimer ( function() unbindKey("mouse2", "down", shoot2 ) setTimer(addBind2, 2900, 1) end, 50, 1 ) end end function addBind1() bindKey("mouse1", "down", shoot1) end function addBind2() bindKey("mouse2", "down", shoot2) end addCommandHandler("d", d) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), addBind1) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), addBind2) --loading hud --hud function hud() label2 = guiCreateLabel(0.895,0.787,0.94,0.92,"ROCKET 1",true) local screenWidth, screenHeight = guiGetScreenSize() local windowWidth, windowHeight = 180, 50 local left = screenWidth/1.09 - windowWidth/2 local top = screenHeight/1.2 - windowHeight/2 prog = guiCreateProgressBar(left, top, windowWidth, windowHeight, false) guiProgressBarSetProgress(prog,0) tick = getTickCount() end addEventHandler("onClientVehicleEnter",root,hud) addEventHandler("onClientResourceStart",root,hud) function pb() local done = getTickCount() if(guiProgressBarGetProgress(prog)==100)then local endT = getTickCount() removeEventHandler("onClientPreRender",root,pb) destroyElement(prog) setTimer(hud, 50, 1) else guiProgressBarSetProgress(prog,guiProgressBarGetProgress(prog)+1) if((done-tick)/1000 == 10)then slow() end end end function slow() removeEventHandler("onClientPreRender",root,pb) end --hud2 function hud2() label1 = guiCreateLabel(0.895,0.69,0.94,0.92,"ROCKET 2",true) local screenWidth, screenHeight = guiGetScreenSize() local windowWidth, windowHeight = 180, 50 local left = screenWidth/1.09 - windowWidth/2 local top = screenHeight/1.35 - windowHeight/2 prog2 = guiCreateProgressBar(left, top, windowWidth, windowHeight, false) guiProgressBarSetProgress(prog2,0) tick = getTickCount() end addEventHandler("onClientVehicleEnter",root,hud2) addEventHandler("onClientResourceStart",root,hud2) function pb2() local done = getTickCount() if(guiProgressBarGetProgress(prog2)==100)then local endT = getTickCount() removeEventHandler("onClientPreRender",root,pb2) destroyElement(prog2) setTimer(hud2, 50, 1) else guiProgressBarSetProgress(prog2,guiProgressBarGetProgress(prog2)+1) if((done-tick)/2000 == 20)then slow() end end end --die,exit function hide() destroyElement(prog) destroyElement(prog2) destroyElement(label1) destroyElement(label2) end addEventHandler("onClientPlayerWasted",root,hide) addEventHandler("OnClientPlayerVehicleExit",root,hide) --JUMP function bind() bindKey("lshift", "down", jump) end addEventHandler("onClientResourceStart", root, bind) player = localPlayer function jump() if isPedInVehicle(player) then local veh = getPedOccupiedVehicle(player) if isPedOnGround(player) then local vx,vy,vz = getElementVelocity(veh) setElementVelocity(veh,vx,vy,vz + 0.27) setTimer ( function() unbindKey("lshift", "down", jump ) setTimer(bind, 2400, 1) end, 1000, 1 ) end end end outputChatBox("Script by Xwad")
×
×
  • Create New...