#StrOnG_,) Posted July 19, 2015 Share Posted July 19, 2015 السلام عليكم ورحمه الله وبركاته كيفكم شباب ؟ ان شاء الله بخير المهمم أبي كود لما اللاعب يسجل دخوله تجي لوحة ثانيةة .. وشكرا Link to comment
#DRAGON!FIRE Posted July 19, 2015 Share Posted July 19, 2015 Event: "onPlayerLogin" triggerClientEvent Link to comment
Mr.R Posted July 19, 2015 Share Posted July 19, 2015 تفضل Server Side addEventHandler ( "onPlayerLogin", root, function ( ) local GetAccount = getPlayerAccount ( source ) if ( GetAccount ) then triggerClientEvent ( source, "OpenWindow", source ) end end ) Client Side addEvent ( "OpenWindow", true ) addEventHandler ( "OpenWindow", root, function ( ) guiSetVisible ( اسم النافذهـ, true ) showCursor ( true ) end ) Link to comment
' A F . Posted July 19, 2015 Share Posted July 19, 2015 ^ اذا هو مسوي لوحة تسجيل .. يحطها مع الترايقر الي ارسله يوم سجل دخول .. عشان يخفي نافذة التجسيل ويظهر له النافذه الي هو يبيها .. Link to comment
iMr.SFA7 Posted July 19, 2015 Share Posted July 19, 2015 تفضلServer Side addEventHandler ( "onPlayerLogin", root, function ( ) local GetAccount = getPlayerAccount ( source ) if ( GetAccount ) then triggerClientEvent ( source, "OpenWindow", source ) end end ) Client Side addEvent ( "OpenWindow", true ) addEventHandler ( "OpenWindow", root, function ( ) guiSetVisible ( اسم النافذهـ, true ) showCursor ( true ) end ) ايش الفايدة من أنك تجيب حساب اللاعب ؟ Link to comment
Mr.R Posted July 19, 2015 Share Posted July 19, 2015 ^ تحقق فقط لا غير واذا شاله اتوقع يشتغل الكود بعد ولا فيه مشكله Link to comment
#StrOnG_,) Posted July 19, 2015 Author Share Posted July 19, 2015 تمت الإفادة مشكورين :] Link to comment
Mr.R Posted July 19, 2015 Share Posted July 19, 2015 تمت الإفادةمشكورين :] حياكـ الله 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