Jump to content

وش الخطء ..


Mbtdaa

Recommended Posts

السلام عليكم

شوفو لي وش الخطء اللله لايهينكم

سيرفر

  
addEvent("ip",true) 
function ip(thePlayer) 
    local IP = getPlayerIP(thePlayer) 
    triggerClientEvent(source,"ip", source,IP) 
end 
addEventHandler("ip",root,ip) 
  
  
players = createTeam ( "Players", 255, 255, 255 ) 
addEventHandler("onPlayerJoin",root, 
function () 
setPlayerTeam ( source, players ) 
end) 
setTimer(function() 
setTeamFriendlyFire ( players , false ) 
end,50,1) 
  
  
  
  
addEvent("onLogin",true) 
addEventHandler("onLogin",root, 
    function (user,pass) 
        local acc = getAccount(user,pass) 
        if ( acc ) then 
            logIn(source,acc,pass) 
        else 
            outputChatBox("* Worng Username Or Password",source,255,0,0) 
        end 
    end 
) 
  
addEvent("onRegister",true) 
addEventHandler("onRegister",root, 
    function (user,pass) 
        local acc = getAccount(user,pass) 
        if ( acc ) then 
            outputChatBox("* This Account is Already Exist",source,255,0,0) 
        else 
            addAccount(user,pass) 
            outputChatBox("* You,re User : " .. user,source,255,255,255) 
            outputChatBox("* You,re Pass : " .. pass,source,255,255,255) 
        end 
    end 
) 
  
  

كلينت

GUIEditor = { 
    tab = {}, 
    button = {}, 
    edit = {}, 
    window = {}, 
    label = {}, 
    tabpanel = {}, 
} 
button = {} 
GUIEditor.window[1] = guiCreateWindow(381, 228, 497, 404, "INfo Panel By iMr.Leon v.1", false) 
guiWindowSetSizable(GUIEditor.window[1], false) 
guiSetAlpha(GUIEditor.window[1], 1.00) 
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF1169ED") 
  
GUIEditor.tabpanel[2] = guiCreateTabPanel(9, 25, 479, 370, false, GUIEditor.window[1]) 
  
GUIEditor.tab[2] = guiCreateTab("INfo", GUIEditor.tabpanel[2]) 
  
GUIEditor.label[1] = guiCreateLabel(10, 43, 71, 18, "Your Name : ", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor.label[1], "default-bold-small") 
guiLabelSetColor(GUIEditor.label[1], 36, 66, 217) 
GUIEditor.label[2] = guiCreateLabel(0, 24, 478, 15, "---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor.label[2], "default-bold-small") 
guiLabelSetColor(GUIEditor.label[2], 36, 66, 217) 
GUIEditor.label[3] = guiCreateLabel(10, 82, 71, 18, "Your Money : ", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor.label[3], "default-bold-small") 
guiLabelSetColor(GUIEditor.label[3], 36, 66, 217) 
GUIEditor.label[4] = guiCreateLabel(10, 125, 63, 17, "Your Skin : ", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor.label[4], "default-bold-small") 
guiLabelSetColor(GUIEditor.label[4], 36, 66, 217) 
GUIEditor.label[5] = guiCreateLabel(10, 162, 70, 15, "Your Team : ", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor.label[5], "default-bold-small") 
guiLabelSetColor(GUIEditor.label[5], 36, 66, 217) 
GUIEditor.label[6] = guiCreateLabel(10, 200, 61, 15, "Your Ping : ", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor.label[6], "default-bold-small") 
guiLabelSetColor(GUIEditor.label[6], 36, 66, 217) 
GUIEditor.label[7] = guiCreateLabel(10, 240, 48, 15, "Your iP : ", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor.label[7], "default-bold-small") 
guiLabelSetColor(GUIEditor.label[7], 36, 66, 217) 
GUIEditor.label[8] = guiCreateLabel(10, 278, 70, 15, "Your Serial :", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor.label[8], "default-bold-small") 
guiLabelSetColor(GUIEditor.label[8], 36, 66, 217) 
GUIEditor.label[9] = guiCreateLabel(0, 321, 478, 15, "---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor.label[9], "default-bold-small") 
guiLabelSetColor(GUIEditor.label[9], 36, 66, 217) 
GUIEditor_Label[1] = guiCreateLabel(81, 43, 158, 23, "oooooooooooooooooooooo", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor_Label[1], "default-bold-small") 
guiLabelSetColor(GUIEditor_Label[1], 57, 246, 6) 
GUIEditor_Label[3] = guiCreateLabel(87, 82, 71, 18, "99999999", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor_Label[3], "default-bold-small") 
guiLabelSetColor(GUIEditor_Label[3], 252, 0, 0) 
GUIEditor_Label[4] = guiCreateLabel(70, 125, 52, 21, "40000", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor_Label[4], "default-bold-small") 
guiLabelSetColor(GUIEditor_Label[4], 216, 228, 23) 
GUIEditor_Label[5] = guiCreateLabel(81, 162, 380, 26, "sPsesjwrhnesfzlex", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor_Label[5], "default-bold-small") 
guiLabelSetColor(GUIEditor_Label[5], 14, 236, 207) 
GUIEditor_Label[6] = guiCreateLabel(73, 199, 57, 19, "19999", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor_Label[6], "default-bold-small") 
guiLabelSetColor(GUIEditor_Label[6], 200, 52, 28) 
GUIEditor_Label[7] = guiCreateLabel(61, 240, 143, 15, "192.168.1.18324", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor_Label[7], "default-bold-small") 
GUIEditor_Label[8] = guiCreateLabel(80, 276, 383, 27, "sr3si4rbhi3lbshli3tbihs5t3db54hbftdifb4fmse", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor_Label[8], "default-bold-small") 
guiLabelSetColor(GUIEditor_Label[8], 178, 127, 85) 
GUIEditor.label[18] = guiCreateLabel(143, 6, 153, 18, "WolCome To Server ^_^", false, GUIEditor.tab[2]) 
guiSetFont(GUIEditor.label[18], "default-bold-small") 
guiLabelSetColor(GUIEditor.label[18], 235, 138, 13) 
  
GUIEditor.tab[3] = guiCreateTab("Login/Register", GUIEditor.tabpanel[2]) 
  
GUIEditor.edit[1] = guiCreateEdit(100, 69, 290, 39, "", false, GUIEditor.tab[3]) 
GUIEditor.edit[2] = guiCreateEdit(100, 187, 290, 39, "", false, GUIEditor.tab[3]) 
button.Login = guiCreateButton(100, 262, 113, 64, "Login", false, GUIEditor.tab[3]) 
guiSetFont(button.Login, "default-bold-small") 
guiSetProperty(button.Login, "NormalTextColour", "FF2442D9") 
GUIEditor.label[19] = guiCreateLabel(169, 10, 161, 55, "Name ", false, GUIEditor.tab[3]) 
guiSetFont(GUIEditor.label[19], "sa-gothic") 
guiLabelSetColor(GUIEditor.label[19], 103, 86, 62) 
GUIEditor.label[20] = guiCreateLabel(169, 118, 163, 66, "Pass", false, GUIEditor.tab[3]) 
guiSetFont(GUIEditor.label[20], "sa-gothic") 
guiLabelSetColor(GUIEditor.label[20], 162, 7, 213) 
button.register[5] = guiCreateButton(260, 260, 112, 69, "Register", false, GUIEditor.tab[3]) 
guiSetFont(GUIEditor.button[5], "default-bold-small") 
  
  
  
function refreshStats() 
   if guiGetVisible(GUIEditor_Image[1]) then 
      guiSetText(GUIEditor_Label[6],getPlayerPing(localPlayer)) 
      guiSetText(GUIEditor_Label[3],"$"..getPlayerMoney()) 
      guiSetText(GUIEditor_Label[1],getPlayerName(localPlayer)) 
      guiSetText(GUIEditor_Label[8],getPlayerSerial()) 
      guiSetText(GUIEditor_Label[4],getElementModel(localPlayer)) 
  
   end 
end 
addEventHandler("onClientRender", root, refreshStats) 
  
  
      theTeam = getPlayerTeam( localPlayer ) 
      if theTeam then 
          teamName = getTeamName(theTeam) 
      else 
          teamName = "N/A" 
       end 
) 
 guiLabelSetColor (GUIEditor_Label[5],0,255,0,220) 
 guiSetFont(GUIEditor_Label[5],"default-bold-small") 
  
  
      guiLabelSetColor (ip1,255,255,0,220) 
      guiSetFont(GUIEditor_Label[8],"default-bold-small") 
  
triggerServerEvent("getIP", getLocalPlayer())triggerServerEvent("ip",localPlayer) 
addEvent("ip",true) 
addEventHandler("ip",root, 
    function(ip) 
        guiSetText(GUIEditor_Label[8],tostring(ip))   
    end 
) 
  
  
bindKey ( "F6" , "down" , 
    function () 
        if guiGetVisible ( GUIEditor.window[1] , true ) then 
            guiSetVisible ( GUIEditor.window[1] , false ) 
            showCursor ( false ) 
            outputChatBox ( "By iMr.Leon" , 255 , 0 , 0 , true ) 
        else 
            guiSetVisible ( GUIEditor.window[1] , true ) 
            showCursor ( true ) 
            outputChatBox ( "By iMr.Leon" , 0 , 255 , 0 , true )  
        end 
    end 
)      
  
  
 addEventHandler("onClientGUIClick",root, 
    function () 
        local user = guiGetText(GUIEditor.edit[1]) 
        local pass = guiGetText(GUIEditor.edit[2]) 
        if ( source == button.login ) then 
            if string.len(user) > 0 and string.len(pass) > 0 then 
                triggerServerEvent("onLogin",localPlayer,user,pass) 
                showCursor(false) 
                guiSetVisible ( GUIEditor.staticimage[1], false ) 
            end 
        elseif ( source == button.register ) then 
            if string.len(user) > 0 and string.len(pass) > 0 then 
                triggerServerEvent("onRegister",localPlayer,user,pass) 
                showCursor(false) 
                guiSetVisible ( GUIEditor.staticimage[1], false ) 
            end 
        end 
    end 
) 
  
  
  
  
Link to comment
في الكلينت سطر 107 عندك قوس زايد

اسماء المتغيرات عندك كلها مخبوصه

:mrgreen: شكلك جايب اكود كوبي بست من مودات ثانية و مركبها على بعض

الفضيحة الكبرى :lol:

طيب دقيقه صلو على النبي وشوفو

معي

اكواد الانفو

انت معطيني اياها ياتابل

معدا الاي بي

وهااذا ردك .

ذي الأكواد مليانة أخطاء

   function refreshStats() 
    if guiGetVisible(GUIEditor_Image[1], true) then 
       GUIEditor_Label[10](GUIEditor_Label[10]," "..getPlayerPing(getLocalPlayer())) 
    else 
       guiSetText(GUIEditor_Label[10]," "..getPlayerPing(getLocalPlayer())) 
        end 
    end 
    addEventHandler("onClientRender", getRootElement(), refreshStats) 
    ------------------------------------------------------------------------ money label] 
    function refreshStatss() 
    if guiGetVisible(GUIEditor_Image[1], true) then 
       GUIEditor_Label[12](GUIEditor_Label[12]," $"..getPlayerMoney (getLocalPlayer())) 
    else 
       guiSetText(GUIEditor_Label[12]," $"..getPlayerMoney (getLocalPlayer())) 
        end 
    end 
    addEventHandler("onClientRender", getRootElement(), refreshStatss) 
    ------------------------------------------------------------------------Name 
    function refreshStatsss() 
    if guiGetVisible(GUIEditor_Image[1],true) then 
       GUIEditor_Label[5](GUIEditor_Label[5]," "..getPlayerName(getLocalPlayer())) 
    else 
       guiSetText(GUIEditor_Label[5]," "..getPlayerName(getLocalPlayer())) 
        end 
    end 
    addEventHandler("onClientRender", getRootElement(), refreshStatsss) 
    ------------------------------------------------------------------------Serial label 
    function refreshStatssss() 
    if guiGetVisible(GUIEditor_Image[1],true) then 
       GUIEditor_Label[9](GUIEditor_Label[9]," "..getPlayerSerial (getLocalPlayer())) 
    else 
       guiSetText(GUIEditor_Label[9]," "..getPlayerSerial (getLocalPlayer())) 
        end 
    end 
    addEventHandler("onClientRender", getRootElement(), refreshStatssss) 
    ------------------------------------------------------------------------Skin label 
    function refreshStatsssss() 
    if guiGetVisible(GUIEditor_Image[2],true) then 
       GUIEditor_Label[7](GUIEditor_Label[7]," "..getPlayerSkin (getLocalPlayer())) 
    else 
       guiSetText(GUIEditor_Label[7]," "..getPlayerSkin (getLocalPlayer())) 
        end 
    end 
    addEventHandler("onClientRender", getRootElement(), refreshStatsssss) 

التصحيح

function refreshStats() 
   if guiGetVisible(GUIEditor_Image[1]) then 
      guiSetText(GUIEditor_Label[10],getPlayerPing(localPlayer)) 
      guiSetText(GUIEditor_Label[12],"$"..getPlayerMoney()) 
      guiSetText(GUIEditor_Label[5],getPlayerName(localPlayer)) 
      guiSetText(GUIEditor_Label[9],getPlayerSerial()) 
      guiSetText(GUIEditor_Label[7],getElementModel(localPlayer)) 
      guiSetText(GUIEditor_Label[15],getElementData(localPlayer,"ID") -- تم أضافة كود الآيد هنا 
   end 
end 
addEventHandler("onClientRender", root, refreshStats) 

وبعدين ياضاوي

ياحليوة

وش الي فضيحة كبرة

بنات حنا؟

ارفع علومك يابطل

Link to comment
انت معطيني اياها ياتابل

معدا الاي بي

وهااذا ردك .

ذي الأكواد مليانة أخطاء

   function refreshStats() 
    if guiGetVisible(GUIEditor_Image[1], true) then 
       GUIEditor_Label[10](GUIEditor_Label[10]," "..getPlayerPing(getLocalPlayer())) 
    else 
       guiSetText(GUIEditor_Label[10]," "..getPlayerPing(getLocalPlayer())) 
        end 
    end 
    addEventHandler("onClientRender", getRootElement(), refreshStats) 
    ------------------------------------------------------------------------ money label] 
    function refreshStatss() 
    if guiGetVisible(GUIEditor_Image[1], true) then 
       GUIEditor_Label[12](GUIEditor_Label[12]," $"..getPlayerMoney (getLocalPlayer())) 
    else 
       guiSetText(GUIEditor_Label[12]," $"..getPlayerMoney (getLocalPlayer())) 
        end 
    end 
    addEventHandler("onClientRender", getRootElement(), refreshStatss) 
    ------------------------------------------------------------------------Name 
    function refreshStatsss() 
    if guiGetVisible(GUIEditor_Image[1],true) then 
       GUIEditor_Label[5](GUIEditor_Label[5]," "..getPlayerName(getLocalPlayer())) 
    else 
       guiSetText(GUIEditor_Label[5]," "..getPlayerName(getLocalPlayer())) 
        end 
    end 
    addEventHandler("onClientRender", getRootElement(), refreshStatsss) 
    ------------------------------------------------------------------------Serial label 
    function refreshStatssss() 
    if guiGetVisible(GUIEditor_Image[1],true) then 
       GUIEditor_Label[9](GUIEditor_Label[9]," "..getPlayerSerial (getLocalPlayer())) 
    else 
       guiSetText(GUIEditor_Label[9]," "..getPlayerSerial (getLocalPlayer())) 
        end 
    end 
    addEventHandler("onClientRender", getRootElement(), refreshStatssss) 
    ------------------------------------------------------------------------Skin label 
    function refreshStatsssss() 
    if guiGetVisible(GUIEditor_Image[2],true) then 
       GUIEditor_Label[7](GUIEditor_Label[7]," "..getPlayerSkin (getLocalPlayer())) 
    else 
       guiSetText(GUIEditor_Label[7]," "..getPlayerSkin (getLocalPlayer())) 
        end 
    end 
    addEventHandler("onClientRender", getRootElement(), refreshStatsssss) 

التصحيح

function refreshStats() 
   if guiGetVisible(GUIEditor_Image[1]) then 
      guiSetText(GUIEditor_Label[10],getPlayerPing(localPlayer)) 
      guiSetText(GUIEditor_Label[12],"$"..getPlayerMoney()) 
      guiSetText(GUIEditor_Label[5],getPlayerName(localPlayer)) 
      guiSetText(GUIEditor_Label[9],getPlayerSerial()) 
      guiSetText(GUIEditor_Label[7],getElementModel(localPlayer)) 
      guiSetText(GUIEditor_Label[15],getElementData(localPlayer,"ID") -- تم أضافة كود الآيد هنا 
   end 
end 
addEventHandler("onClientRender", root, refreshStats) 

:roll: فيه اكواد ازرار واديت مو موجوده

Edited by Guest
Link to comment

هذا الي أنت حاطه بالكود

function refreshStats() 
   if guiGetVisible(GUIEditor_Image[1]) then 
      guiSetText(GUIEditor_Label[6],getPlayerPing(localPlayer)) 
      guiSetText(GUIEditor_Label[3],"$"..getPlayerMoney()) 
      guiSetText(GUIEditor_Label[1],getPlayerName(localPlayer)) 
      guiSetText(GUIEditor_Label[8],getPlayerSerial()) 
      guiSetText(GUIEditor_Label[4],getElementModel(localPlayer)) 
  
   end 
end 
addEventHandler("onClientRender", root, refreshStats) 

GUIEditor_Image[1] و المشكلة أن ما عندك أي صورة بأسم

ip1 و هنا نفس الشي ما عندك أي ليبل أسمه

guiLabelSetColor (ip1,255,255,0,220) 

وهنا حاط ترقرين ورا بعض

:mrgreen: كأني شايف الكود ذا من قبل بس مدري وين

triggerServerEvent("getIP", getLocalPlayer())triggerServerEvent("ip",localPlayer) 

و ذا كود السيرفر

source و مره تحط thePlayer مره تحط

ليه تخبيص هو؟

مرتين في الترقير من الكلينت localPlayer لازم تحط thePlayer إذا تبي تستخدم

addEvent("ip",true) 
function ip(thePlayer) 
    local IP = getPlayerIP(thePlayer) 
    triggerClientEvent(source,"ip", source,IP) 
end 
addEventHandler("ip",root,ip) 

Link to comment
اكواد الانفو انت معطيني ياها ياتابل كيف تقول وش دخل ذي

^_^

والازرار والاديت

امسح الاكواد معدا اكواد النافذة وتشوووف اذا فيه ولا لا

وين قلت أنا؟

GUIEditor_Image[1] أنا أقول لك كودك مافيه صوره بالأسم

تقول أنا معطيك الكود؟

ذا الكود اعطيتك اياه في موضوع ثاني و الكود حقك كان غير

و ذا موضوعك القديم

viewtopic.php?f=119&t=46587

:mrgreen: أنت ناسخ الأكواد و مركبها و مو داري وش السالفه

الكود الي بالموضوع القديم كان فيه الصور

GUIEditor_Image[1] = guiCreateStaticImage(78,7,116,62,"images/fl.png",false,Tab[2]) 
GUIEditor_Image[2] = guiCreateStaticImage(257,5,122,67,"images/ni.png",false,Tab[2]) 
GUIEditor_Image[3] = guiCreateStaticImage(73,154,117,71,"images/in.png",false,Tab[2]) 
GUIEditor_Image[4] = guiCreateStaticImage(259,150,114,75,"images/re.png",false,Tab[2]) 

أما الكود الي بالموضوع ذا مافيه ذي الصور

:mrgreen: و ذا دليل أنك سويت كوبي بست

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...