ghost222 Posted February 12, 2017 Share Posted February 12, 2017 سلام عليكم ابي اسوي زر نسخ اسم الحساب aTab1.copy = guiCreateButton ( 0.51, 0.259, 0.13, 0.04, "Copy", true, aTab1.Tab ) elseif ( source == aTab1.copy ) then if aPlayers[player]["accountname"] then aMessageBox ( "info", "") setClipboard(aPlayers[player]["accountname"]) end end الكود الثاني نسخته من ادمنيه ثانيه ومازبط معاي Link to comment
justboy Posted February 12, 2017 Share Posted February 12, 2017 سووي تريفر للسيرفر وتأكذً انه مسجل ذًخول وارسل اسم الحساب بتريقر للكلينت واستعمل setClipboard Link to comment
ghost222 Posted February 12, 2017 Author Share Posted February 12, 2017 يا صاحبي لو اعرف شيء بسيط من البرمجه ماطلبت مساعده ابي واحد يحل المشكله انا بستفيد وغيري باذن الله Link to comment
#BrosS Posted February 12, 2017 Share Posted February 12, 2017 من وين جايبها دي ي طيب aPlayers[player]["accountname"] Link to comment
ghost222 Posted February 12, 2017 Author Share Posted February 12, 2017 (edited) الكود ذا ناسخه من ادمنيه .. لاني شفت فيها زر اعجبني للاسف ما اشتغل Edited February 12, 2017 by ghost222 Link to comment
Abdul KariM Posted February 12, 2017 Share Posted February 12, 2017 جرب هذا setClipboard ( guiGetText ( aTab1.Accountname ) ) Link to comment
ghost222 Posted February 12, 2017 Author Share Posted February 12, 2017 تكلمنا عربي وانقليزي :@ ما تفهمون انتم ولا شقصدتم ؟ Link to comment
#BrosS Posted February 12, 2017 Share Posted February 12, 2017 -- # Server addEventHandler("onResourceStart", resourceRoot, function() for i, player in ipairs(getElementsByType("player")) do local account = getPlayerAccount(player) setElementData(player, "AccountName", getAccountName(account)) end end) ---- Client # setClipboard( "Account Name : "..(getElementData(localPlayer, "AccountName") or "-") ) نسيت ، ذا يجيب اسم حسابك كمثال غير أنت البارامتر حسب ماتبي تسوي Link to comment
ghost222 Posted February 12, 2017 Author Share Posted February 12, 2017 يعطيك العافيه اخوي .. تم الافاده من كركر . 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