Jump to content

طلب صغير


shwaeki

Recommended Posts

Posted

السلام عليك

اليوم سويت نافذة

فيها

الاسم

الاي بي

السيريل

الفلوس

كيف اخلي تجي جنب اسم الاسم اسم الاعب و السيريل سيريل الاعب و كم عدد فلوس الاعب

الوحة

  
GUIEditor = { 
    label = {}, 
    window = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.window[1] = guiCreateWindow(10, 199, 277, 168, "~~<<<معلومات الاعب>>>~~", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
        guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF0EF0C8") 
  
        GUIEditor.label[1] = guiCreateLabel(8, 143, 74, 18, " Money:", false, GUIEditor.window[1]) 
        guiLabelSetColor(GUIEditor.label[1], 14, 240, 200) 
        GUIEditor.label[2] = guiCreateLabel(10, 66, 74, 18, " ID", false, GUIEditor.window[1]) 
        guiLabelSetColor(GUIEditor.label[2], 14, 240, 200) 
        GUIEditor.label[3] = guiCreateLabel(8, 32, 74, 18, " name: ", false, GUIEditor.window[1]) 
        guiLabelSetColor(GUIEditor.label[3], 14, 240, 200) 
        GUIEditor.label[4] = guiCreateLabel(10, 105, 74, 18, " Serial:", false, GUIEditor.window[1]) 
        guiLabelSetColor(GUIEditor.label[4], 14, 240, 200) 
        GUIEditor.label[5] = guiCreateLabel(5, 50, 272, 16, "_________________________________________________", false, GUIEditor.window[1]) 
        guiLabelSetColor(GUIEditor.label[5], 51, 239, 14) 
        GUIEditor.label[6] = guiCreateLabel(5, 123, 272, 16, "_________________________________________________", false, GUIEditor.window[1]) 
        guiLabelSetColor(GUIEditor.label[6], 51, 239, 14) 
        GUIEditor.label[7] = guiCreateLabel(5, 84, 272, 16, "_________________________________________________", false, GUIEditor.window[1]) 
        guiLabelSetColor(GUIEditor.label[7], 51, 239, 14)     
    end 
) 

Posted

^ عندك خطأ بسطر 26 + سريال اللاعب كلنت مافيه سين تاكس

+ كيف تحط اول ما يشغتل المود؟

اظن انه يبيه يحدث تلقائي فـ من الافضل تسوي رندر

Posted

اخي نفس الشي بطلع الوحة من دون الاسم و السيريل و الاي دي

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

Posted
-- Client Side # 
GUIEditor = { 
    label = {}, 
    window = {} 
} 
  
GUIEditor.window[1] = guiCreateWindow(10, 199, 277, 168, "~~<<<معلومات الاعب>>>~~", false) 
guiWindowSetSizable(GUIEditor.window[1], false) 
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF0EF0C8") 
guiSetVisible(GUIEditor.window[1], false) 
GUIEditor.label[1] = guiCreateLabel(8, 143, 74, 18, "Money: N/A", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[1], 14, 240, 200) 
GUIEditor.label[2] = guiCreateLabel(10, 66, 74, 18, "ID: N/A", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[2], 14, 240, 200) 
GUIEditor.label[3] = guiCreateLabel(8, 32, 74, 18, "Name: N/A", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[3], 14, 240, 200) 
GUIEditor.label[4] = guiCreateLabel(10, 105, 74, 18, "Serial: " .. getPlayerSerial ( ), false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[4], 14, 240, 200) 
GUIEditor.label[5] = guiCreateLabel(5, 50, 272, 16, "_________________________________________________", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[5], 51, 239, 14) 
GUIEditor.label[6] = guiCreateLabel(5, 123, 272, 16, "_________________________________________________", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[6], 51, 239, 14) 
GUIEditor.label[7] = guiCreateLabel(5, 84, 272, 16, "_________________________________________________", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[7], 51, 239, 14)     
  
addEventHandler ( "onClientRender", root, 
    function ( ) 
        if ( guiGetVisible ( GUIEditor.window[1] ) ) then 
            guiSetText ( GUIEditor.label[1], "Money: " .. getPlayerMoney ( ) ) 
            local ID = getElementData ( localPlayer, "ID" ) 
            if ( ID ) then 
                guiSetText ( GUIEditor.label[2], "ID: " .. ID) 
            else 
                guiSetText ( GUIEditor.label[2], "ID: N/A" ) 
            end 
            guiSetText ( GUIEditor.label[3], "Name: " .. getPlayerName ( localPlayer ) ) 
        end 
    end 
) 

Posted

اضغط اف2 لفتح اللوحه

-- Client Side # 
GUIEditor = { 
    label = {}, 
    window = {} 
} 
  
GUIEditor.window[1] = guiCreateWindow(10, 199, 288, 168, "~~<<<معلومات الاعب>>>~~", false) 
guiWindowSetSizable(GUIEditor.window[1], false) 
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF0EF0C8") 
guiSetVisible(GUIEditor.window[1], false) 
GUIEditor.label[1] = guiCreateLabel(8, 143, 350, 18, "Money: N/A", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[1], 14, 240, 200) 
GUIEditor.label[2] = guiCreateLabel(10, 66, 100, 18, "ID: N/A", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[2], 14, 240, 200) 
GUIEditor.label[3] = guiCreateLabel(8, 32, 350, 18, "Name: N/A", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[3], 14, 240, 200) 
GUIEditor.label[4] = guiCreateLabel(10, 105, 350, 18, "Serial: " .. getPlayerSerial ( ), false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[4], 14, 240, 200) 
GUIEditor.label[5] = guiCreateLabel(5, 50, 272, 16, "_________________________________________________", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[5], 51, 239, 14) 
GUIEditor.label[6] = guiCreateLabel(5, 123, 272, 16, "_________________________________________________", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[6], 51, 239, 14) 
GUIEditor.label[7] = guiCreateLabel(5, 84, 272, 16, "_________________________________________________", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[7], 51, 239, 14)     
  
addEventHandler ( "onClientRender", root, 
    function ( ) 
        if ( guiGetVisible ( GUIEditor.window[1] ) ) then 
            guiSetText ( GUIEditor.label[1], "Money: " .. getPlayerMoney ( ) ) 
            local ID = getElementData ( localPlayer, "ID" ) 
            if ( ID ) then 
                guiSetText ( GUIEditor.label[2], "ID: " .. ID) 
            else 
                guiSetText ( GUIEditor.label[2], "ID: N/A" ) 
            end 
            guiSetText ( GUIEditor.label[3], "Name: " .. getPlayerName ( localPlayer ) ) 
        end 
    end 
) 
  
bindKey ( "F2" , "down" , function() 
    guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) 
    showCursor(not isCursorShowing()) 
    end 
) 
Posted
اخي ما اشتغل الكود كلة ما طلعت لوحة

'-_- ياحبيبي انت منت حاط كود لفتح النافذة اصلاً شلون تبيها تفتح؟ سحر مثلاً

Posted

the killer والله انك كفو يا

بعدين يا كينج لما اشل المود تطلع الوحة لوحدها برضو مشكور يا كنج

Posted
the killer والله انك كفو يا

بعدين يا كينج لما اشل المود تطلع الوحة لوحدها برضو مشكور يا كنج

-__- احذف سطر 10 من الكود عشان يصير يوم تشغل السكربت تجي لحالها

guiSetVisible(GUIEditor.window[1], false) 

Posted

تفضـل

  
  
  
GUIEditor_Window = {} 
GUIEditor_Label = {} 
  
GUIEditor_Window[1] = guiCreateWindow(292, 231, 348, 126, "~~<<<معلومات الاعب>>>~~", false) --- النافذة 
guiSetAlpha(GUIEditor_Window[1],1) 
  
playerMoney = guiCreateLabel(8, 27, 237, 21, "Money:", false, GUIEditor_Window[1]) -- لبل الفلوس 
guiLabelSetColor(playerMoney,0,255,0) 
guiSetText ( playerMoney, getPlayerMoney(localPlayer)) 
function refreshStats() 
if guiGetVisible(GUIEditor_Window[1],true) then 
else 
   guiSetText(playerMoney,"Your Money :"..getPlayerMoney(getLocalPlayer())) 
    end 
end 
addEventHandler("onClientRender", getRootElement(), refreshStats) 
  
id = guiCreateLabel(8, 48, 237, 21, "ID :", false, GUIEditor_Window[1]) -- لبل الاي دي  
guiLabelSetColor(id,0,0,255) 
guiSetText ( id, getElementRadius(localPlayer)) 
function refreshStats() 
if guiGetVisible(GUIEditor_Window[1],true) then 
else 
   guiSetText(id,"YOUR ID :"..getElementRadius(getLocalPlayer())) 
    end 
end 
addEventHandler("onClientRender", getRootElement(), refreshStats) 
  
y = guiCreateLabel(8, 69, 237, 21, "name :", false, GUIEditor_Window[1]) --- لبل الاسم  
guiLabelSetColor(y,0,255,0) 
guiSetText ( y, getPlayerName(localPlayer)) 
function refreshStats() 
if guiGetVisible(GUIEditor_Window[1],true) then 
else 
   guiSetText(y,"YOUR NAME :"..getPlayerName(getLocalPlayer())) 
    end 
end 
addEventHandler("onClientRender", getRootElement(), refreshStats) 
  
  
  
  
 -- اغلاق النافذة 
   guiSetVisible (GUIEditor_Window[1], false) 
function OpenWin() 
    if guiGetVisible ( GUIEditor_Window[1] ) then 
       guiSetVisible ( GUIEditor_Window[1], false ) 
       showCursor(false) 
       guiSetInputEnabled(false) 
    else 
        guiSetVisible ( GUIEditor_Window[1], true ) 
        showCursor(true) 
        guiSetInputEnabled(true) 
  
    end 
end 
bindKey("F4", "down", OpenWin) -- زر فتح النافذة 
  
  
  

Posted
تفضـل
  
  
  
GUIEditor_Window = {} 
GUIEditor_Label = {} 
  
GUIEditor_Window[1] = guiCreateWindow(292, 231, 348, 126, "~~<<<معلومات الاعب>>>~~", false) --- النافذة 
guiSetAlpha(GUIEditor_Window[1],1) 
  
playerMoney = guiCreateLabel(8, 27, 237, 21, "Money:", false, GUIEditor_Window[1]) -- لبل الفلوس 
guiLabelSetColor(playerMoney,0,255,0) 
guiSetText ( playerMoney, getPlayerMoney(localPlayer)) 
function refreshStats() 
if guiGetVisible(GUIEditor_Window[1],true) then 
else 
   guiSetText(playerMoney,"Your Money :"..getPlayerMoney(getLocalPlayer())) 
    end 
end 
addEventHandler("onClientRender", getRootElement(), refreshStats) 
  
id = guiCreateLabel(8, 48, 237, 21, "ID :", false, GUIEditor_Window[1]) -- لبل الاي دي  
guiLabelSetColor(id,0,0,255) 
guiSetText ( id, getElementRadius(localPlayer)) 
function refreshStats() 
if guiGetVisible(GUIEditor_Window[1],true) then 
else 
   guiSetText(id,"YOUR ID :"..getElementRadius(getLocalPlayer())) 
    end 
end 
addEventHandler("onClientRender", getRootElement(), refreshStats) 
  
y = guiCreateLabel(8, 69, 237, 21, "name :", false, GUIEditor_Window[1]) --- لبل الاسم  
guiLabelSetColor(y,0,255,0) 
guiSetText ( y, getPlayerName(localPlayer)) 
function refreshStats() 
if guiGetVisible(GUIEditor_Window[1],true) then 
else 
   guiSetText(y,"YOUR NAME :"..getPlayerName(getLocalPlayer())) 
    end 
end 
addEventHandler("onClientRender", getRootElement(), refreshStats) 
  
  
  
  
 -- اغلاق النافذة 
   guiSetVisible (GUIEditor_Window[1], false) 
function OpenWin() 
    if guiGetVisible ( GUIEditor_Window[1] ) then 
       guiSetVisible ( GUIEditor_Window[1], false ) 
       showCursor(false) 
       guiSetInputEnabled(false) 
    else 
        guiSetVisible ( GUIEditor_Window[1], true ) 
        showCursor(true) 
        guiSetInputEnabled(true) 
  
    end 
end 
bindKey("F4", "down", OpenWin) -- زر فتح النافذة 
  
  
  

صراحه ما ادري وش تحاول تثبت ,؟؟

وانت مسكت الكود وجبت خرابيط مدري من وين

وعدلت على اللوحه نفسها بعد مو الكود

خرابيط خرابيط

ماتشوف عطاه الكود ؟؟

-- Client Side # 
GUIEditor = { 
    label = {}, 
    window = {} 
} 
  
GUIEditor.window[1] = guiCreateWindow(10, 199, 277, 168, "~~<<<معلومات الاعب>>>~~", false) 
guiWindowSetSizable(GUIEditor.window[1], false) 
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF0EF0C8") 
guiSetVisible(GUIEditor.window[1], false) 
GUIEditor.label[1] = guiCreateLabel(8, 143, 74, 18, "Money: N/A", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[1], 14, 240, 200) 
GUIEditor.label[2] = guiCreateLabel(10, 66, 74, 18, "ID: N/A", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[2], 14, 240, 200) 
GUIEditor.label[3] = guiCreateLabel(8, 32, 74, 18, "Name: N/A", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[3], 14, 240, 200) 
GUIEditor.label[4] = guiCreateLabel(10, 105, 74, 18, "Serial: " .. getPlayerSerial ( ), false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[4], 14, 240, 200) 
GUIEditor.label[5] = guiCreateLabel(5, 50, 272, 16, "_________________________________________________", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[5], 51, 239, 14) 
GUIEditor.label[6] = guiCreateLabel(5, 123, 272, 16, "_________________________________________________", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[6], 51, 239, 14) 
GUIEditor.label[7] = guiCreateLabel(5, 84, 272, 16, "_________________________________________________", false, GUIEditor.window[1]) 
guiLabelSetColor(GUIEditor.label[7], 51, 239, 14)     
  
addEventHandler ( "onClientRender", root, 
    function ( ) 
        if ( guiGetVisible ( GUIEditor.window[1] ) ) then 
            guiSetText ( GUIEditor.label[1], "Money: " .. getPlayerMoney ( ) ) 
            local ID = getElementData ( localPlayer, "ID" ) 
            if ( ID ) then 
                guiSetText ( GUIEditor.label[2], "ID: " .. ID) 
            else 
                guiSetText ( GUIEditor.label[2], "ID: N/A" ) 
            end 
            guiSetText ( GUIEditor.label[3], "Name: " .. getPlayerName ( localPlayer ) ) 
        end 
    end 
) 

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...