Jump to content

TD[M]ER

Members
  • Posts

    583
  • Joined

  • Last visited

Posts posted by TD[M]ER

  1. ي شبإأب الله يرحم امكم الرجال سأل سؤال عطوه اجابهه والمشاكل في الخاص او ايميل او موضوع مستقل للـ مشاكل ذذ

    صلوا ع ـالنبي وهدوا الوضعع #

  2. well, you need to re-script it then, because i found lots of bugs with those 2 label's, i removed them and ur script worked for me.

    Ok i will re-script it & if i meet a problem i will say it here =D

    thank you have 1 <3

  3. Hi Everyone ..

    i made gang Panel and i try to fixed the script but it doesn't work :|

    i make when i chose the Grove Team then guiSetVisible (true)

    it's working in the Ballas team but the other teams doesn't work :(

    this is the client side

      
    -- GangPanel -- V2.1 
    -- [email protected] 
    -- SkyPe : MR.TDMER 
      
      
      
    ------------------- 
    lblx = guiCreateLabel(853, 306, 478, 39, "", false) 
    guiSetVisible(lblx,false) 
    guiSetFont(lblx, guiCreateFont("Other/TD[M]ER.ttf", 10)) 
    guiSetProperty(lblx, "Disabled", "True") 
      
      
    function TDMER( x2, y2, width2, height2, titleBarText2, relative2 ) 
        local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "img/P.png", relative2 ) 
        local mainBackgroundLabel = guiCreateLabel ( 50, 0, 400, 100, titleBarText2, false, mainBackground ) 
        guiSetEnabled ( mainBackgroundLabel, false ) 
        return mainBackground 
            end 
             
    local x7x 
      
    GUIEditor = { 
        label = {}, 
        button = {}, 
    } 
    gangWnd = TDMER(272, 161, 729, 490, "▅▆二【 Gang Panel 】二▆▅", false) 
    guiSetAlpha(gangWnd, 1.00) 
    guiSetVisible(gangWnd, false) 
      showCursor ( false ) 
      
    stop = guiCreateButton(54, 388, 98, 31, "•| stop sound |•", false, gangWnd) 
    guiSetFont(stop, "default-bold-small") 
    guiSetProperty(stop, "NormalTextColour", "FFE0DD1E") 
    GUIEditor.label[1] = guiCreateLabel(20, 447, 279, 28, "• Created By TD[M]ER V2.1 •", false, gangWnd) 
    guiLabelSetColor(GUIEditor.label[1], 249, 4, 4) 
    x7x = guiCreateLabel(357, 429, 327, 33, "© Welcome To Server 6AraT ©", false, gangWnd) 
    guiSetFont(x7x, guiCreateFont("Other/TD[M]ER.ttf", 10)) 
    Grove = guiCreateStaticImage(44, 30, 121, 301, "img/Grove.png", false, gangWnd) 
    Ballas = guiCreateStaticImage(374, 30, 121, 302, "img/Ballas.png", false, gangWnd) 
    Aztecas = guiCreateStaticImage(210, 30, 121, 300, "img/Aztecas.png", false, gangWnd) 
    NoTeam = guiCreateStaticImage(538, 30, 124, 304, "img/NoTeam.png", false, gangWnd) 
    GUIEditor.label[3] = guiCreateLabel(64, 341, 93, 21, "   § Grove §", false, gangWnd) 
    guiSetFont(GUIEditor.label[3], "default-bold-small") 
    GUIEditor.label[4] = guiCreateLabel(220, 341, 93, 21, "   § Aztecas §", false, gangWnd) 
    guiSetFont(GUIEditor.label[4], "default-bold-small") 
    GUIEditor.label[5] = guiCreateLabel(403, 343, 71, 25, " § Ballas §", false, gangWnd) 
    guiSetFont(GUIEditor.label[5], "default-bold-small") 
    GUIEditor.label[6] = guiCreateLabel(564, 342, 71, 25, "  § NoTeam §", false, gangWnd) 
    guiSetFont(GUIEditor.label[6], "default-bold-small") 
    function color ( ) 
     guiLabelSetColor ( x7x, math.random(0, 255), math.random(0, 255), math.random(0, 255) ) 
     guiLabelSetColor ( lblx, math.random(0, 255), math.random(0, 255), math.random(0, 255) ) 
    end  
    setTimer ( color, 200, 0 ) 
    ---------------------------------------- 
             
                             
    function onGuiClick (button, state, absoluteX, absoluteY) 
    local ip = getLocalPlayer() 
      if source == Ballas then 
      guiSetVisible(gangWnd, false) 
      showCursor ( false ) 
      stopSound( soundG ) 
      stopSound( soundN ) 
      stopSound( soundA ) 
      setElementPosition(ip, 214.03983, 1864.13306, 13.14063)  
        soundB = playSound("Other/War.mp3", false) 
        triggerServerEvent("setBallasTeam",getLocalPlayer()) 
        outputChatBox ("you're joining to Ballas war", source, getRootElement(),255,0,0,true) 
            guiSetVisible(lblx,true) 
            guiSetText ( lblx, " " .. getPlayerName(ip) .. " has ben join to Ballas War " ) 
            setTimer(guiSetVisible,5000,1,lblx,false) 
            showCursor ( false ) 
         
        elseif source == Grove then 
      guiSetVisible(gangWnd, false) 
      showCursor ( false ) 
      stopSound( soundB ) 
      stopSound( soundN ) 
      stopSound( soundA ) 
      setElementPosition(ip, 2498.7, -1680.3, 13.3)  
        soundG = playSound("Other/War.mp3", false) 
        triggerServerEvent("setGroveTeam",getLocalPlayer()) 
        outputChatBox ("you're joining to Grove war", source, getRootElement(),255,0,0,true) 
                guiSetText ( lblx, " " .. getPlayerName(ip) .. " has ben join to Grove War " ) 
            setTimer(guiSetVisible,5000,1,lblx,false) 
            showCursor ( false ) 
         
         
        elseif source == Aztecas then 
      guiSetVisible(gangWnd, false) 
      showCursor ( false ) 
      stopSound( soundG ) 
      stopSound( soundB ) 
      stopSound( soundN ) 
      setElementPosition(ip, 1569.68652, -1019.28009, 23.91405)  
      showCursor ( false ) 
        soundA = playSound("Other/War.mp3", false) 
        triggerServerEvent("setAztecasTeam",getLocalPlayer()) 
        outputChatBox ("you're joining to Aztecas war", source, getRootElement(),255,0,0,true) 
                guiSetText ( lblx, " " .. getPlayerName(ip) .. " has ben join to Aztecas War " ) 
            setTimer(guiSetVisible,5000,1,lblx,false) 
            showCursor ( false ) 
         
        elseif source == NoTeam then 
      guiSetVisible(gangWnd, false) 
      showCursor ( false )  
      stopSound( soundG ) 
      stopSound( soundB ) 
      stopSound( soundA ) 
        soundN = playSound("Other/War.mp3", false) 
        triggerServerEvent("setNoTeam",getLocalPlayer()) 
        outputChatBox ("you're joining to NoTeam", source, getRootElement(),255,0,0,true) 
        showCursor ( false ) 
         
         
        elseif source == stop then 
      guiSetVisible(gangWnd, false) 
      showCursor ( false ) 
      stopSound( soundG ) 
      stopSound( soundB ) 
      stopSound( soundN ) 
      stopSound( soundA ) 
    outputChatBox ("sound was stoped", source, getRootElement(),255,0,0,true) 
      
     end 
    end 
    addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) 
      
    bindKey ( "F7" , "down" , function() 
      
    if ( guiGetVisible ( gangWnd ) == true ) then 
     guiSetVisible ( gangWnd ,false ) 
     showCursor (false ) 
     guiSetInputEnabled(false) 
      
     elseif ( guiGetVisible ( gangWnd ) == false ) then 
     guiSetVisible ( gangWnd ,true ) 
     showCursor (false ) 
     guiSetInputEnabled(true) 
      
     end 
     end 
     ) 
      
      
    

  4. روح للفري روم

    ملف الكلنت

    fr_client.lua

    سطر

    959 , 960

    حط على الامر --

    يصير كذا

    --addCommandHandler('createvehicle', createVehicleCommand)

    --addCommandHandler('cv', createVehicleCommand)

    و

    سطر

    156,166

    خلي الاوامر

    --addCommandHandler('give', giveWeaponCommand)

    --addCommandHandler('wp', giveWeaponCommand)

    وان كاني غلطان في السطور الله اعلم

    ولكن الاوامر صحيحه

  5.   
    --- SERVER SIDE 
      
     local root = getRootElement() 
      
    function chat(text, msgtype) 
        local name = getPlayerName(source) 
           outputChatBox("#808080 ".. name .. ":#00ffff " .. text, root, 255, 255, 255, true) 
    end 
    addEventHandler("onPlayerChat", root, chat)  
      
      
    

  6. ياخوي اللي مو عارف يتعلم من البدايه مو ينط على اشياء كبيرهـ وهو توهـ جديد في البرمجهه

    ادخل تعلم اساسيات وبعدين تعال اسال وحنا في الموقع ذا واجبنا نساعدكـ بـ ][ الاكواد اللي تستعملها في السكربت اللي طالبه انت ][ مانسوي لكـ سكربت كامل

    ادخل تعلم الاساسيات اولاُ وبعدين اساأل ..

    الاساسيات والمقدمات في البرمجه موجودهـ

    باللغه الانجليزية

    https://wiki.multitheftauto.com/wiki/Scr ... troduction

    واللغه العربيه

    https://wiki.multitheftauto.com/wiki/AR/ ... 8%AC%D9%87

  7. السلام عليكم ورحمة الله وبركاته

    مساكم الله بالخير يالربع

    ياشباب انا ابي احط اسم السيرفر والكود مدري فيه غلط ولا لا

      
    guiSetText(ServerNam,"name server: "..getElementData(root, "ServerName")) 
    

    addEventHandler("onResourceStart", resourceRoot, 
    function() 
         setElementData(root, "ServerName", getServerName()) 
    end) 
    

      
    --- server side 
      
      
    addEvent("update",true) 
    addEventHandler("update",root, 
    function(client) 
    local name = getServerName() 
    triggerClientEvent(client,"update",name) 
    end) 
      
    

      
    -- client side 
      
    addEvent("update",true) 
    addEventHandler("update",root, 
    function(name) 
    guiSetText(اسم الليبل,"Server Name: " ..tostring(name).. "") 
    end) 
      
    

  8. كل يوم يجي واحد مسوي استضافهه خخخخ

    ونا عن نفسي ما اشوف استضافات منتشرهـ وحلوهـ اكثر من

    FPSSERVER.com

    Delux-host.com

    بعدين سمعت انا يمقن ويمقن ان عرض الاستضافات في الموقع ذا يكلف 5 يورو

    والله اعلم

    :]

  9. addEventHandler("onPlayerJoin", root, 
    function() 
         setElementData(source, "IP", getPlayerIP(source)) 
    end) 
    

    addEventHandler ("onClientGUIClick", getRootElement(), 
    function () 
    if source == GUIEditor_Button[] then 
    ip = getElementData(localPlayer, "IP") 
    setClipboard ( "" .. ip .. "" ) 
        end 
    end) 
    

    ظبط الحين يعطيكـ الف عافيهه :$

×
×
  • Create New...