Mr.Mostafa Posted April 22, 2018 Share Posted April 22, 2018 (edited) آلسلام عليكم معي لوحة لو كتبت آسم حسآب شخص يطلع لي كل معلومآته لكن آلمشكلة لمآ آكتب آسم حسآب شخص وآضغط آظهآر آلمعلومآت يطلع معلومآتي آنآ يعني خآنة وضع حسآب آلشخص تعتبر وهمية فآ آبي تبديل بدل مآ يطلع معلومآتي يطلع معلومآت صآحب آلحسآب آلي آنآ كآتبه سيرفر : function getPlayerAcls(thePlayer) local acls = {} local account = getPlayerAccount(thePlayer) if (account) and not (isGuestAccount(account)) then local accountName = getAccountName(account) for i,group in ipairs(aclGroupList()) do if (isObjectInACLGroup( "user." ..accountName, group)) then local groupName = aclGroupGetName(group) table.insert(acls, groupName) end end end return acls end addEvent("Add",true) addEventHandler("Add", root,function(theAccount) local account = getAccount(theAccount) if ( account ) then local acc = getAccountName(account) local acl = getPlayerAcls(source) local name = getPlayerName(source) local serial = getPlayerSerial(source) local My = getPlayerMoney(source) local ping = getPlayerPing(source) triggerClientEvent(client,"aad",client,name,acc,tostring( table.concat(acl, ", ") ),serial,My,ping) end end) كلنت : GUIEditor = {memo = {},button = {},edit = {},window = {},} GUIEditor.window[1] = guiCreateWindow(234, 146, 296, 356, "لوحة معلومات الاعبين", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(77, 93, 171, 31, "اظهآر معلومات الحساب", false, GUIEditor.window[1]) GUIEditor.edit[1] = guiCreateEdit(73, 39, 175, 30, "", false, GUIEditor.window[1]) GUIEditor.memo[1] = guiCreateMemo(21, 176, 261, 167, "", false, GUIEditor.window[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) ----- addEventHandler("onClientGUIClick",GUIEditor.button[1],function() plr = guiGetText(GUIEditor.edit[1]) if plr then triggerServerEvent("Add", localPlayer,plr) else guiSetText(GUIEditor.memo[1],"Error") end end,false) ------ addEvent("aad",true) addEventHandler("aad", root,function (name,acc,acl,serial,My,Ping) guiSetText(GUIEditor.memo[1],"\n Name:"..name.."\n Account :"..acc.."\n Groups :"..acl.."\n Serial :"..serial.."\n Money:"..My.."\n Ping : " ..Ping) end) Edited April 22, 2018 by Mr.Mostafa Link to comment
Doffy Posted April 22, 2018 Share Posted April 22, 2018 بدل ملف السيرفر حقك بذا function getPlayerAcls(thePlayer) local acls = {} local account = getPlayerAccount(thePlayer) if (account) and not (isGuestAccount(account)) then local accountName = getAccountName(account) for i,group in ipairs(aclGroupList()) do if (isObjectInACLGroup( "user." ..accountName, group)) then local groupName = aclGroupGetName(group) table.insert(acls, groupName) end end end return acls end function getPlayerFromAccountName(name) local acc = getAccount (name) if name and acc and not isGuestAccount (acc) then return getAccountPlayer (acc) else return false end end addEvent("Add",true) addEventHandler("Add", root,function(theAccount) local account = getAccount(theAccount) if ( account ) then local acc = getAccountName(account) local player = getPlayerFromAccountName(acc) local acl = getPlayerAcls(player) local name = getPlayerName(player) local serial = getPlayerSerial(player) local My = getPlayerMoney(player) local ping = getPlayerPing(player) triggerClientEvent(client,"aad",client,name,acc,tostring( table.concat(acl, ", ") ),serial,My,ping) end end) وجرب وعطني خبر سويتلك ياه من الجوال علسريع لاني مستعجل Link to comment
Mr.Mostafa Posted April 22, 2018 Author Share Posted April 22, 2018 20 minutes ago, #DesTroeyR said: بدل ملف السيرفر حقك بذا function getPlayerAcls(thePlayer) local acls = {} local account = getPlayerAccount(thePlayer) if (account) and not (isGuestAccount(account)) then local accountName = getAccountName(account) for i,group in ipairs(aclGroupList()) do if (isObjectInACLGroup( "user." ..accountName, group)) then local groupName = aclGroupGetName(group) table.insert(acls, groupName) end end end return acls end function getPlayerFromAccountName(name) local acc = getAccount (name) if name and acc and not isGuestAccount (acc) then return getAccountPlayer (acc) else return false end end addEvent("Add",true) addEventHandler("Add", root,function(theAccount) local account = getAccount(theAccount) if ( account ) then local acc = getAccountName(account) local player = getPlayerFromAccountName(acc) local acl = getPlayerAcls(player) local name = getPlayerName(player) local serial = getPlayerSerial(player) local My = getPlayerMoney(player) local ping = getPlayerPing(player) triggerClientEvent(client,"aad",client,name,acc,tostring( table.concat(acl, ", ") ),serial,My,ping) end end) وجرب وعطني خبر سويتلك ياه من الجوال علسريع لاني مستعجل للآسف مآ عآد يجيب معلومآت نهآئي @#DesTroeyR Link to comment
Mr.Mostafa Posted April 22, 2018 Author Share Posted April 22, 2018 6 minutes ago, -Le[3]bA. said: بدل مكان player source مآ فهمت - آول كود ولآ آلكود آلتآني + آي كلمة بلاير ؟ مآ فهمت آلصرآحة يآريت توضح Link to comment
Mr.Mostafa Posted April 23, 2018 Author Share Posted April 23, 2018 (edited) آب Edited April 23, 2018 by Mr.Mostafa Link to comment
Adham Posted April 24, 2018 Share Posted April 24, 2018 local acl = getPlayerAcls(player) local name = getPlayerName(player) local serial = getPlayerSerial(player) local My = getPlayerMoney(player) local ping = getPlayerPing(player) بدل كلمه بلاير ب كلمه source كلها Link to comment
Mr.Mostafa Posted April 24, 2018 Author Share Posted April 24, 2018 2 minutes ago, -Le[3]bA. said: local acl = getPlayerAcls(player) local name = getPlayerName(player) local serial = getPlayerSerial(player) local My = getPlayerMoney(player) local ping = getPlayerPing(player) بدل كلمه بلاير ب كلمه source كلها local acl = getSourceAcls(source) local name = getSourceName(source) local serial = getSourceSerial(source) local My = getSourceMoney(source) local ping = getSourcePing(source) كدآ ؟ Link to comment
Adham Posted April 24, 2018 Share Posted April 24, 2018 1 hour ago, Mr.Mostafa said: local acl = getSourceAcls(source) local name = getSourceName(source) local serial = getSourceSerial(source) local My = getSourceMoney(source) local ping = getSourcePing(source) كدآ ؟ يب Link to comment
Mr.Mostafa Posted April 24, 2018 Author Share Posted April 24, 2018 4 minutes ago, -Le[3]bA. said: يب مآ آشتغل ومآ عآد يطلع معلومآت Link to comment
Unknow Posted April 24, 2018 Share Posted April 24, 2018 ياخي حاول لحالك مو ملاحظ انه انت اكثر شخص بنشر بالمنتدى مساعدة و مساعده و المفروض من كثر ما نشرت تكون ختمت الغه انت تبي كل شيء جاهز و ما تبي تحاول ولو شوي 1 Link to comment
#Major . Posted April 25, 2018 Share Posted April 25, 2018 (edited) 10 hours ago, Unknow said: ياخي حاول لحالك مو ملاحظ انه انت اكثر شخص بنشر بالمنتدى مساعدة و مساعده و المفروض من كثر ما نشرت تكون ختمت الغه انت تبي كل شيء جاهز و ما تبي تحاول ولو شوي صحيح + لاتكرر مواضيعك يرحم امك يعني تنزل موضوع بكره تنزل موضوع نفسه بس تغير الكلام @!#NssoR_) 10 hours ago, Unknow said: ياخي حاول لحالك مو ملاحظ انه انت اكثر شخص بنشر بالمنتدى مساعدة و مساعده و المفروض من كثر ما نشرت تكون ختمت الغه انت تبي كل شيء جاهز و ما تبي تحاول ولو شوي لو تلااحض المنتدى قسم البرمجة اول صفحتين كلها اسمه وكلها طلباته وكلها طلبات جاهزه المفروض بهذي الصفحتين يكون ختم الغه لكن مدري وش اقول الي م يبي يتعب نفس Edited April 25, 2018 by *RayaN-Alharbi. Link to comment
GTA San Posted April 25, 2018 Share Posted April 25, 2018 اخيرأ حصلت سعودي اسمة مصطفى 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