Professional Posted December 5, 2014 Share Posted December 5, 2014 شباب الحين فيه فنكش اسمه GetPlayerConsole اعطاء الاعب كونسل؟؟؟؟ Link to comment
MFGRHOM## Posted December 5, 2014 Share Posted December 5, 2014 يب فيه كان فوكس مركبه في سيرفره نسيت اسمه بس شعاره F.Q Link to comment
The Don Posted December 5, 2014 Share Posted December 5, 2014 احس الشعب سار مزودها ذي اليومين aclGroupAddObject Link to comment
*[MSN]MHMD Posted December 6, 2014 Share Posted December 6, 2014 احس الشعب سار مزودها ذي اليومين aclGroupAddObject هههههههههه اسئلة بالشرق واسئلة بالغرب Link to comment
*[MSN]MHMD Posted December 6, 2014 Share Posted December 6, 2014 شباب الحين فيه فنكش اسمه GetPlayerConsole اعطاء الاعب كونسل؟؟؟؟ Get بعدين لو في فنكشن كذا كان تلقى الفنكشن الي كتبته انت ملون + لو تفهم انت انجليزي كان تشوف كلمة من المنطق هذي الكلمة يعني يجيب معلومة معينة عن اللاعب مب يعطي Link to comment
jafar Posted December 6, 2014 Share Posted December 6, 2014 عادي تقدر انت تسوي الفنكشن getPlayerConsole = function ( ) -- end Link to comment
#Mr.alkmasha Posted December 6, 2014 Share Posted December 6, 2014 عادي تقدر انت تسوي الفنكشن getPlayerConsole = function ( ) -- end ممكن تفهمني كيف؟ Link to comment
*[MSN]MHMD Posted December 7, 2014 Share Posted December 7, 2014 عادي تقدر انت تسوي الفنكشن getPlayerConsole = function ( ) -- end ممكن تفهمني كيف؟ usefull funcition يعني ان تتصنع كود بنفسك مثل لمن تروح الام تي اي في خيار هناك اسمه كذا يعني الفنكشات الي هناك كلها الناس مسوينها وحاطينها هناك وانت تقدر تسوي Link to comment
Professional Posted December 7, 2014 Author Share Posted December 7, 2014 حبيبي عارف انها set وعارف اني بلاقيه ملون بس كنت حابب اعرف اقلك مو ابي تشرحولي البرمجه كلها Link to comment
i,xAhmed Posted December 7, 2014 Share Posted December 7, 2014 حبيبي عارف انها setوعارف اني بلاقيه ملون بس كنت حابب اعرف اقلك مو ابي تشرحولي البرمجه كلها ولا set give ! Link to comment
فاّرس Posted December 7, 2014 Share Posted December 7, 2014 (edited) الوظيفه غير موجوده , بس تقدر تسويها , كـ مثال : addAccountToConsole = function ( plr , name ) if name and tostring ( name ) and plr and isElement ( plr ) and getElementType ( plr ) == 'player' then local acc = getPlayerAccount ( plr ) if not acc or isGuestAccount ( acc ) then return end if isObjectInACLGroup ( 'user.'.. getAccountName ( acc ) , aclGetGroup ( 'Console' ) ) then if not isObjectInACLGroup ( 'user.'.. name , aclGetGroup ( 'Console' ) ) then aclGroupAddObject ( aclGetGroup( 'Console' ), 'user.' .. name ) else return false end else return false end else return false end return name or false end addCommandHandler ( 'add_', function ( plr , _, name ) local name = addAccountToConsole ( plr, name ) if not name then return false end outputChatBox ( 'Warning ! the account : '.. name .. ' was added to console group !', root ) end ) * accName addAccountToConsole ( thePlayer, accountName ) * thePlayer = اللاعب الي يبي يضيف الحساب * accountName = الحساب الي تبي تضيفه * لازم تضيف المود لقروب الادمن Edited December 7, 2014 by Guest Link to comment
#Mr.alkmasha Posted December 7, 2014 Share Posted December 7, 2014 عادي تقدر انت تسوي الفنكشن getPlayerConsole = function ( ) -- end ممكن تفهمني كيف؟ usefull funcition يعني ان تتصنع كود بنفسك مثل لمن تروح الام تي اي في خيار هناك اسمه كذا يعني الفنكشات الي هناك كلها الناس مسوينها وحاطينها هناك وانت تقدر تسوي ترا فاهم بس ابي افهم كيف اصنع الفنكشات Link to comment
*[MSN]MHMD Posted December 8, 2014 Share Posted December 8, 2014 ترا فاهم بس ابي افهم كيف اصنع الفنكشات شوف هنا الامثلة وطبق حسبها https://forum.multitheftauto.com/viewtopic.php?f=160&t=50111 Link to comment
nxFairlywell Posted December 9, 2014 Share Posted December 9, 2014 function setPlayerConsole ( Player ) local acc = getAccountName((getPlayerAccount(Player)) if isElement(Player) and getElementType(Player) == "player" then local gr = aclGetGroup( "Console" ) aclGroupAddObject( "user."..acc , gr ) end return true end Player = اللاعب الي تبيه ماني متأكد بس ان شاء الله تضبط الوظيفه تعطي اللاعب كونسل Link to comment
The Killer Posted December 9, 2014 Share Posted December 9, 2014 function setPlayerConsole ( Player ) local acc = getAccountName((getPlayerAccount(Player)) if isElement(Player) and getElementType(Player) == "player" then local gr = aclGetGroup( "Console" ) aclGroupAddObject( "user."..acc , gr ) end return true end Player = اللاعب الي تبيه ماني متأكد بس ان شاء الله تضبط الوظيفه تعطي اللاعب كونسل اتوقع ان هذا الرد يكفي الوظيفه غير موجوده , بس تقدر تسويها , كـ مثال : addAccountToConsole = function ( plr , name ) if name and tostring ( name ) and plr and isElement ( plr ) and getElementType ( plr ) == 'player' then local acc = getPlayerAccount ( plr ) if not acc or isGuestAccount ( acc ) then return end if isObjectInACLGroup ( 'user.'.. getAccountName ( acc ) , aclGetGroup ( 'Console' ) ) then if not isObjectInACLGroup ( 'user.'.. name , aclGetGroup ( 'Console' ) ) then aclGroupAddObject ( aclGetGroup( 'Console' ), 'user.' .. name ) else return false end else return false end else return false end return name or false end addCommandHandler ( 'add_', function ( plr , _, name ) local name = addAccountToConsole ( plr, name ) if not name then return false end outputChatBox ( 'Warning ! the account : '.. name .. ' was added to console group !', root ) end ) * accName addAccountToConsole ( thePlayer, accountName ) * thePlayer = اللاعب الي يبي يضيف الحساب * accountName = الحساب الي تبي تضيفه * لازم تضيف المود لقروب الادمن Link to comment
nxFairlywell Posted December 9, 2014 Share Posted December 9, 2014 توقعك خله بمخباك ماحد يبيه . Link to comment
The Killer Posted December 10, 2014 Share Posted December 10, 2014 خخخخ , والله العقل نعمه 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