iPrestege Posted October 22, 2012 Share Posted October 22, 2012 بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاتة شباب اليوم جيت بسوي لوحة بس تعارض معي شيء اولا الـ IP مايطلع باللبل ثانيا الـ Skin مايطلع نفس الاي بي ثالثا البنق ماينحسب مثل البقية الكود المستخدم : addEventHandler("onClientRender", getRootElement(), function () if guiGetVisible(GUIEditor_Window[1]) then guiSetText(GUIEditor_Label[1],"Your Name: "..getPlayerName(getLocalPlayer())) guiSetText(GUIEditor_Label[5],"Your Money: "..getPlayerMoney(getLocalPlayer())) guiSetText(GUIEditor_Label[3],"Your Serial: "..getPlayerSerial(getLocalPlayer())) guiSetText(GUIEditor_Label[4],"Your IP: "..getPlayerIP(getLocalPlayer())) guiSetText(GUIEditor_Label[7],"Your Skin: "..getPlayerSkin(getLocalPlayer())) guiSetText (GUIEditor_Label[2],"Your Ping: "..getPlayerPing(getLocalPlayer()).." " ) end end ) ارجو تصحيح الكود Link to comment
Tete omar Posted October 22, 2012 Share Posted October 22, 2012 أولاً الاي بي لازم يكون في ملف السيرفر Link to comment
iPrestege Posted October 22, 2012 Author Share Posted October 22, 2012 ^^ اوك بشوف لة حل بس البنق والشخصية ؟ Link to comment
Mr.T9 Posted October 22, 2012 Share Posted October 22, 2012 (edited) اخوي كودك مو موجود فيه حق التحديث Edited October 23, 2012 by Guest Link to comment
Tete omar Posted October 22, 2012 Share Posted October 22, 2012 (edited) كلنت addEventHandler("onClientRender", root, function () if(guiGetVisible(GUIEditor_Window[1])~=false)then guiSetText(GUIEditor_Label[1],"Your Name: "..getPlayerName(localPlayer)) guiSetText(GUIEditor_Label[5],"Your Money: "..getPlayerMoney(localPlayer)) guiSetText(GUIEditor_Label[3],"Your Serial: "..getPlayerSerial(localPlayer)) triggerServerEvent("getPing",localPlayer) guiSetText(GUIEditor_Label[7],"Your Skin: "..getElementID(localPlayer)) guiSetText (GUIEditor_Label[2],"Your Ping: "..getPlayerPing(localPlayer)) end end) addEvent("settingText",true) addEventHandler("settingText",root, function(ip) guiSetText(GUIEditor_Label[4],"Your IP :" .. ip) end) سيرفر addEvent("getPing",true) addEventHandler("getPing",root, function() local ip=getPlayerIP(client) triggerClientEvent(client,"settingText",client,ip) end) Edited October 22, 2012 by Guest Link to comment
iPrestege Posted October 22, 2012 Author Share Posted October 22, 2012 تسلم تي تي البنق ضبط بس الباقي لآ Link to comment
iPrestege Posted October 22, 2012 Author Share Posted October 22, 2012 اللي مانفع الاي بي : سيرفر : addEvent("getIP",true) addEventHandler("getIP",root, function() local ip=getPlayerIP(client) triggerClientEvent(client,"settingText",client,ip) end) الشخصية سيرفر : addEvent("getElementID",true) addEventHandler("getElementID",root, function() local ip=getPlayerIP(client) triggerClientEvent(client,"settingText",client,ip) end) Link to comment
Tete omar Posted October 22, 2012 Share Posted October 22, 2012 اللي مانفع الاي بي : سيرفر : addEvent("getIP",true) addEventHandler("getIP",root, function() local ip=getPlayerIP(client) triggerClientEvent(client,"settingText",client,ip) end) الشخصية سيرفر : addEvent("getElementID",true) addEventHandler("getElementID",root, function() local ip=getPlayerIP(client) triggerClientEvent(client,"settingText",client,ip) end) لانك لازم تحط اسم السكربت عندك في قروب الادمن resource.script Link to comment
iPrestege Posted October 22, 2012 Author Share Posted October 22, 2012 بجرب وارد لك تسلم تسلم تيتي والله ماقصرت بس بشغلك باخر شيء ماشتغل الشخصية Link to comment
Mr.T9 Posted October 22, 2012 Share Posted October 22, 2012 (edited) بخصوص كود الشخصية جرب هذا addEvent("getPlayerSkin",true) addEventHandler("getPlayerSkin",root, function() local Skin=getPlayerSkin(client) triggerClientEvent(client,"settingText",client,Skin) end) كود اللي يجيب ايدي الشخصية كذا getPlayerSkin Edited October 22, 2012 by Guest Link to comment
Tete omar Posted October 22, 2012 Share Posted October 22, 2012 (edited) بجرب وارد لك تسلم تسلم تيتي والله ماقصرت بس بشغلك باخر شيء ماشتغل الشخصية جرب ذا كلنت addEventHandler("onClientRender", root, function () if(guiGetVisible(GUIEditor_Window[1])~=false)then guiSetText(GUIEditor_Label[1],"Your Name: "..getPlayerName(localPlayer)) guiSetText(GUIEditor_Label[5],"Your Money: "..getPlayerMoney(localPlayer)) guiSetText(GUIEditor_Label[3],"Your Serial: "..getPlayerSerial(localPlayer)) triggerServerEvent("getPing",localPlayer) guiSetText(GUIEditor_Label[7],"Your Skin: "..getElementModel(localPlayer)) guiSetText (GUIEditor_Label[2],"Your Ping: "..getPlayerPing(localPlayer)) end end) addEvent("settingText",true) addEventHandler("settingText",root, function(ip) guiSetText(GUIEditor_Label[4],"Your IP :" .. ip) end) Edited October 22, 2012 by Guest Link to comment
iPrestege Posted October 22, 2012 Author Share Posted October 22, 2012 اي نقلت كودك صحيح اكيد بجرب كود mr.t9 وارد لكم Link to comment
iPrestege Posted October 22, 2012 Author Share Posted October 22, 2012 Thanxx To TeTe Omar & Mr.T9 For Help Locked ! Link to comment
Tete omar Posted October 22, 2012 Share Posted October 22, 2012 بخصوص كود الشخصية جرب هذا addEvent("getPlayerSkin",true) addEventHandler("getPlayerSkin",root, function() local Skin=getPlayerSkin(client) triggerClientEvent(client,"settingText",client,Skin) end) كود اللي يجيب ايدي الشخصية كذا getPlayerSkin تي تسعة لاحظ This function is deprecated. This means that its use is discouraged and that it might not exist in future versions, but there should be an alternative (usually more generic) way of performing what it once did. Please use getElementModel Link to comment
iPrestege Posted October 22, 2012 Author Share Posted October 22, 2012 تي تسعه وتي تي عمر ماقصرتوا والله تسلمون : ) Link to comment
Mr.T9 Posted October 22, 2012 Share Posted October 22, 2012 بخصوص كود الشخصية جرب هذا addEvent("getPlayerSkin",true) addEventHandler("getPlayerSkin",root, function() local Skin=getPlayerSkin(client) triggerClientEvent(client,"settingText",client,Skin) end) كود اللي يجيب ايدي الشخصية كذا getPlayerSkin تي تسعة لاحظ This function is deprecated. This means that its use is discouraged and that it might not exist in future versions, but there should be an alternative (usually more generic) way of performing what it once did. Please use getElementModel hhhhhhhhhhh Have you noticed that it is working Link to comment
Tete omar Posted October 22, 2012 Share Posted October 22, 2012 تي تسعه وتي تي عمر ماقصرتوا والله تسلمون : ) على الرحب والسعة Link to comment
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