Adham Posted July 2, 2016 Share Posted July 2, 2016 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 https://wiki.multitheftauto.com/wiki/GetPlayerAcls Link to comment
Wleed1998 Posted July 2, 2016 Author Share Posted July 2, 2016 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 https://wiki.multitheftauto.com/wiki/GetPlayerAcls وش اسوي فيه ذا ؟ Link to comment
N3xT Posted July 2, 2016 Share Posted July 2, 2016 أنا اقول , لو تبدأ بمودات سهلة وتتعلم عليها أفضل لك لأنك م راح تعرف تسوي المود ذا Link to comment
#|_oskar_|# Posted July 2, 2016 Share Posted July 2, 2016 جرب 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 = getPlayerFromName(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) 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(Player) local acc = getAccountName(getPlayerAccount(Player)) 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) Link to comment
Wleed1998 Posted July 2, 2016 Author Share Posted July 2, 2016 جرب 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 = getPlayerFromName(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) 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(Player) local acc = getAccountName(getPlayerAccount(Player)) 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) لم اكتب اسم حسابي يطلع ايرو كل ما اكتب حساب يطل ايرو Link to comment
#|_oskar_|# Posted July 2, 2016 Share Posted July 2, 2016 انت تبي تكتب حساب اللاعب ولا اسمه لاني مسويه لك عند كتابة الاسم يظهر لك معلوماته Link to comment
Wleed1998 Posted July 2, 2016 Author Share Posted July 2, 2016 انت تبي تكتب حساب اللاعب ولا اسمه لاني مسويه لك عند كتابة الاسم يظهر لك معلوماته حسابه ي الغالي Link to comment
Wleed1998 Posted July 3, 2016 Author Share Posted July 3, 2016 انت تبي تكتب حساب اللاعب ولا اسمه لاني مسويه لك عند كتابة الاسم يظهر لك معلوماته رد يااوسكآر Link to comment
#|_oskar_|# Posted July 3, 2016 Share Posted July 3, 2016 لم تتم التجربه 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) 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) Link to comment
Wleed1998 Posted July 3, 2016 Author Share Posted July 3, 2016 لم تتم التجربه 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) 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) مشكور بجربه شوي بروح مشوار و ارجع اجربه يعطيك العافيههء ع المساعده 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