shwaeki Posted December 4, 2013 Posted December 4, 2013 السلام عليك اليوم سويت نافذة فيها الاسم الاي بي السيريل الفلوس كيف اخلي تجي جنب اسم الاسم اسم الاعب و السيريل سيريل الاعب و كم عدد فلوس الاعب الوحة 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 December 4, 2013 Posted December 4, 2013 guiSetText getPlayerName getPlayerMoney getPlayerSerial setTimer -- تحدث المعلومات او تقدر تستخدم الرندر بدل التايمر
shwaeki Posted December 4, 2013 Author Posted December 4, 2013 ممكن تسويلي اياه تكفا او تعطيني لوحة مع مثال
The Killer Posted December 4, 2013 Posted December 4, 2013 (edited) ### Edited December 4, 2013 by Guest
فاّرس Posted December 4, 2013 Posted December 4, 2013 ^ عندك خطأ بسطر 26 + سريال اللاعب كلنت مافيه سين تاكس + كيف تحط اول ما يشغتل المود؟ اظن انه يبيه يحدث تلقائي فـ من الافضل تسوي رندر
shwaeki Posted December 4, 2013 Author Posted December 4, 2013 اخي نفس الشي بطلع الوحة من دون الاسم و السيريل و الاي دي مو مشكلة عشين التحديث لانو السيريل و الاسم و الاي دي ما بدهم تحديث اما الفلوس بعدين احاول اسويها
K1NG Posted December 4, 2013 Posted December 4, 2013 -- 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 )
The Killer Posted December 4, 2013 Posted December 4, 2013 اضغط اف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 )
K1NG Posted December 4, 2013 Posted December 4, 2013 اخي ما اشتغل الكود كلة ما طلعت لوحة '-_- ياحبيبي انت منت حاط كود لفتح النافذة اصلاً شلون تبيها تفتح؟ سحر مثلاً
shwaeki Posted December 4, 2013 Author Posted December 4, 2013 the killer والله انك كفو يا بعدين يا كينج لما اشل المود تطلع الوحة لوحدها برضو مشكور يا كنج
K1NG Posted December 4, 2013 Posted December 4, 2013 the killer والله انك كفو يابعدين يا كينج لما اشل المود تطلع الوحة لوحدها برضو مشكور يا كنج -__- احذف سطر 10 من الكود عشان يصير يوم تشغل السكربت تجي لحالها guiSetVisible(GUIEditor.window[1], false)
С ō π α πღ Posted December 4, 2013 Posted December 4, 2013 تفضـل 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) -- زر فتح النافذة
The Killer Posted December 4, 2013 Posted December 4, 2013 تفضـل 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 )
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now