^iiEcoo'x_) Posted June 22, 2016 Share Posted June 22, 2016 ابي كود الشاشة تكون سوداء في التحميل وبس ينتهي التحميل ترجع الشاشة Link to comment
محمد Posted June 22, 2016 Share Posted June 22, 2016 onPlayerJoin onClientResourceStart fadeCamera Link to comment
taha201100 Posted June 22, 2016 Share Posted June 22, 2016 اقرأ الموضوع قبل كل شي وعدل عنوان الموضوع https://forum.multitheftauto.com/viewtopic.php?f=160&t=100292 + onPlayerJoinonClientResourceStart fadeCamera or isTransferBoxActive fadeCamera Link to comment
Mr.R Posted June 23, 2016 Share Posted June 23, 2016 اتوقع الكود كذا < ماني متأكد ياليت تشوف دايماً قبل لا تفكر تسوي شيء , امثله الويكي لانها غالبا نفس طلبك addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) if ( isTransferBoxActive ( ) == true ) then fadeCamera ( false ) else fadeCamera ( true ) end end ) Link to comment
Adham Posted June 23, 2016 Share Posted June 23, 2016 اتفضل مثال من الويكي <> resourceRoot = getResourceRootElement(getThisResource()) function checkTransfer() if isTransferBoxActive( ) == true then setTimer(checkTransfer,2000,1) -- Check again after 2 seconds else fadeCamera(true) -- TransferBox isnt active, fade in camera end end addEventHandler("onClientResourceStart",resourceRoot,checkTransfer) 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