AB0 HNAD[e] Posted April 14, 2013 Share Posted April 14, 2013 السلام عليكم ,, هذآ كود كآميرآ مآتركس :: addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor_Button[6] ) then fadeCamera(source, true, 5) setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) end ) لآكنيَ جربت الكود وخخرب المود كآمل وآتمنى تصححونة وشكرآ ,, Link to comment
iPrestege Posted April 14, 2013 Share Posted April 14, 2013 addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor_Button[6] ) then fadeCamera(true,5) setCameraMatrix(1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) end end ) Link to comment
AB0 HNAD[e] Posted April 14, 2013 Author Share Posted April 14, 2013 مششكور عـ آلرد آلسسريعع ذذ , آجربهة وآرد لك خخبر Link to comment
MSHOOSH Posted April 14, 2013 Share Posted April 14, 2013 addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor_Button[6] ) then fadeCamera(true,5) setCameraMatrix(1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) end end ) سوال ؟ Required Arguments thePlayer: The player whose camera you wish to fade. fadeIn: Should the camera be faded in our out? Pass true to fade the camera in, false to fade it out to a color. و انت حذفت source ?? كيف تجي Link to comment
iPrestege Posted April 14, 2013 Share Posted April 14, 2013 كلنت مايحتاج ماقريت الويكي زين؟ bool fadeCamera ( bool fadeIn, [ float timeToFade = 1.0, int red = 0, int green = 0, int blue = 0 ] ) Link to comment
MSHOOSH Posted April 14, 2013 Share Posted April 14, 2013 كلنت مايحتاج ماقريت الويكي زين؟ bool fadeCamera ( bool fadeIn, [ float timeToFade = 1.0, int red = 0, int green = 0, int blue = 0 ] ) ثانكس لم اركز Link to comment
jafar Posted April 14, 2013 Share Posted April 14, 2013 (edited) مافيه خطأ ! Edit: متأكد انك حفظت الكود؟ Edited April 14, 2013 by Guest Link to comment
iPrestege Posted April 14, 2013 Share Posted April 14, 2013 الكود صح متأكد ؟ اطرح الكود كامل لو عندك مشكلة ارسلة خاص # Link to comment
AB0 HNAD[e] Posted April 14, 2013 Author Share Posted April 14, 2013 فيهة مشكلهة هون ؟؟ guiSetVisible (Wind, false) function OpenWin() if guiGetVisible ( Wind ) then guiSetVisible ( Wind, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( Wind, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F6", "down", OpenWin) Link to comment
iPrestege Posted April 14, 2013 Share Posted April 14, 2013 اطرحة كامل أفضل عشان اشوفة ذذ Link to comment
AB0 HNAD[e] Posted April 14, 2013 Author Share Posted April 14, 2013 (edited) بدون هالكودين تشتغل اللوحة :: addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor_Button[6] ) then fadeCamera(true,5) setCameraMatrix(1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) end end ) تم تعديل الكود ^ guiSetVisible (Wind, false) function OpenWin() if guiGetVisible ( Wind ) then guiSetVisible ( Wind, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( Wind, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F6", "down", OpenWin) Edited April 14, 2013 by Guest Link to comment
iPrestege Posted April 14, 2013 Share Posted April 14, 2013 اها عدلتة kk جرب guiSetVisible (Wind, false) -- هذا حطة تحت النافذهـ function OpenWin() guiSetVisible(Wind, not guiGetVisible(Wind)) showCursor(guiGetVisible(Wind)) end bindKey("F6", "down", OpenWin) Link to comment
AB0 HNAD[e] Posted April 14, 2013 Author Share Posted April 14, 2013 مششكور آخويَ زبطت .. 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