#Mr.alkmasha Posted September 12, 2014 Share Posted September 12, 2014 اسلام عليكم ممكن تصلحو ذا الكود و تقولو لي الخطاء addEventHandler("onPlayerLogin",root, function () if ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( players ) ), aclGetGroup ( "Console" ) ) ) then outputChatBox( source, "Join Console...", getRootElement, 255, 255,0 ) end end ) Link to comment
The Don Posted September 12, 2014 Share Posted September 12, 2014 addEventHandler("onPlayerLogin",root, function ( ) if ( isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( source ) ) , aclGetGroup ( "Console" ) ) ) then outputChatBox ( "Join Console...", root, 255, 0, 0, true ) end end ) Link to comment
#Mr.alkmasha Posted September 12, 2014 Author Share Posted September 12, 2014 addEventHandler("onPlayerLogin",root, function ( ) if ( isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( source ) ) , aclGetGroup ( "Console" ) ) ) then outputChatBox ( "Join Console...", root, 255, 0, 0, true ) end end ) thanx Link to comment
#DRAGON!FIRE Posted September 12, 2014 Share Posted September 12, 2014 انت تبي تجيب اسمه لو خش الكونسل يجي بالشات انه فلأن خش الكونسل ؟ Link to comment
#Mr.alkmasha Posted September 12, 2014 Author Share Posted September 12, 2014 انت تبي تجيب اسمه لو خش الكونسل يجي بالشات انه فلأن خش الكونسل ؟ يب Link to comment
The Don Posted September 12, 2014 Share Posted September 12, 2014 addEventHandler("onPlayerLogin",root, function ( ) if ( isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( source ) ) , aclGetGroup ( "Console" ) ) ) then outputChatBox ( "Join Console ".. getPlayerName(source).."", root, 255, 0, 0, true ) end end ) ض1 Link to comment
#DRAGON!FIRE Posted September 12, 2014 Share Posted September 12, 2014 addEventHandler( "onPlayerLogin", root, function ( _,acc ) if ( isObjectInACLGroup ( "user."..getAccountName ( acc ), aclGetGroup ( "Console" ) ) ) then outputChatBox ( "* "..getPlayerName ( source ).." ' Console ' Login in", root, 255, 0, 0, true ) end end ) Link to comment
#Mr.alkmasha Posted September 12, 2014 Author Share Posted September 12, 2014 addEventHandler( "onPlayerLogin", root, function ( _,acc ) if ( isObjectInACLGroup ( "user."..getAccountName ( acc ), aclGetGroup ( "Console" ) ) ) then outputChatBox ( "* "..getPlayerName ( source ).." ' Console ' Login in", root, 255, 0, 0, true ) end end ) شكرا زاحف , شكرا دؤن ما قصرتو هو الكود حقي الاول صح يعني بس ناقص الاسل كان؟ Link to comment
The Don Posted September 12, 2014 Share Posted September 12, 2014 كودك كان فيه شويه شطحات فقط لا اقل ولا اكثر + العفو حياك الله Link to comment
#Mr.alkmasha Posted September 12, 2014 Author Share Posted September 12, 2014 الله يحيك Link to comment
#DRAGON!FIRE Posted September 12, 2014 Share Posted September 12, 2014 الاخطاء اللي عندكـ من وين جبتها ؟ المفروض تحط سورس players بـ التحقق من القروب حاط اول ارقمنت سورس .. ليه ؟ اول ارقمنت التكست outputChatBox وعندكـ بفنكشن ( ) ناقص الـ قوسين getRootElement وعندكـ بـ لجلب حساب اللاعب .. ليه ؟ getPlayerAccount وانت مستخدم ... : ما يحتاج في بريمتر بالحدث يجيب لك الحساب اللي سجل الدخول له اللاعب زي التصحيح حقي فوق . 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