Dr.Xen Posted February 15, 2014 Author Share Posted February 15, 2014 وشهي؟ ممكن رابط؟ Link to comment
al-Kobra Posted February 15, 2014 Share Posted February 15, 2014 addCommandHandler( "GetCameraPos", function ( ) local x, y, z, xl, yl, zl = getCameraMatrix( ) if ( x == 0 or y == 0 or z == 0 ) then return end setClipboard(" "..x..", "..y..", "..z..", "..xl..", "..yl..", "..zl.." ") end ) setCameraMatrix وبتنسخ لك الاحداثيات كاملة بس عليك تحطها بـ GetCameraPos تقوم بـ كتابة الأمر كلينت سايد Link to comment
Dr.Xen Posted February 15, 2014 Author Share Posted February 15, 2014 أبوك في الجنة + مشكور + ممكن تسوي لي كود يعني كذا اول مااضغط زر يوديني للكاميرآ مقدر اتحرك لين اكتب كلمة وارجع في نفس المكان وشكرآ لك ! Link to comment
#DRAGON!FIRE Posted February 15, 2014 Share Posted February 15, 2014 ما فهمتك وش تبي بالضبط .. وضح طلبك اكثر Link to comment
Dr.Xen Posted February 15, 2014 Author Share Posted February 15, 2014 لو ضغطت عل الزر GUIEditor.button[2] على طور للكاميرآ ما اقدر اتحرك مقدر اسوي شي الا اذا كتبت كلمة ترجعني للوحة !ومشكور^ Link to comment
#DRAGON!FIRE Posted February 15, 2014 Share Posted February 15, 2014 addCommandHandler guiSetVisible showCursor setCameraTarget Event: "onClientGUIClick" setCameraMatrix isCursorShowing showCursor Link to comment
Dr.Xen Posted February 15, 2014 Author Share Posted February 15, 2014 ممكن تسويلي ياهم لأهنت عالتعب Link to comment
al-Kobra Posted February 16, 2014 Share Posted February 16, 2014 حاول واحنا بنعدله لك Link to comment
Dr.Xen Posted February 16, 2014 Author Share Posted February 16, 2014 وربي حاولت كثييير بس قدرت !! كذا function guiSetVisible ( showCursor ,isCursorShowing) guiSetVisible (GUIEditor.button[2], not guiGetVisible ( GUIEditor.button[2] ) ) bool setCameraMatrix ( player thePlayer, float positionX, float positionY, float positionZ [, float lookAtX, float lookAtY, float lookAtZ, float roll = 0, float fov = 70 ] ) GUIEditor.button[2]( 0.7, 0.1, 0.2, 0.1, "Output!", true ) addEventHandler ( "onClientGUIClick", btnOutput, outputEditBox, false ) if aPlayer == getLocalPlayer() then Link to comment
Mr.T9 Posted February 16, 2014 Share Posted February 16, 2014 وربي حاولت كثييير بس قدرت !! كذا function guiSetVisible ( showCursor ,isCursorShowing) guiSetVisible (GUIEditor.button[2], not guiGetVisible ( GUIEditor.button[2] ) ) bool setCameraMatrix ( player thePlayer, float positionX, float positionY, float positionZ [, float lookAtX, float lookAtY, float lookAtZ, float roll = 0, float fov = 70 ] ) GUIEditor.button[2]( 0.7, 0.1, 0.2, 0.1, "Output!", true ) addEventHandler ( "onClientGUIClick", btnOutput, outputEditBox, false ) if aPlayer == getLocalPlayer() then 1- ناقصك end 2- bool setCameraMatrix ( player thePlayer, float positionX, float positionY, float positionZ [, float lookAtX, float lookAtY, float lookAtZ, float roll = 0, float fov = 70 ] ) ناسخه من الويكي ! Link to comment
Dr.Xen Posted February 16, 2014 Author Share Posted February 16, 2014 طيب الكود صحيح ؟ !! Link to comment
al-Kobra Posted February 16, 2014 Share Posted February 16, 2014 (edited) addEventHandler ( "onClientGUIClick", root, function ( ) if source == اسم البوتون then setCameraMatrix ( x, y, z, xl, yl, zl ) showCursor ( not isCursorShowing () ) end end ) addCommandHandler ( "الكلمة", function() guiSetVisible ( اسم اللوحة, false ) showCursor ( false ) setCameraTarget ( localPlayer ) end ) جرب , Edited February 17, 2014 by Guest Link to comment
max-mohammed Posted February 17, 2014 Share Posted February 17, 2014 addEventHandler ( "onClientGUIClick", root, function ( ) if (source == الزر) then setCameraMatrix ( x, y, z, xl, yl, zl ) showCursor ( not isCursorShowing () ) end end ) addCommandHandler ( "الكلمة", function() local eg = getLocalPlayer() guiSetVisible ( اسم اللوحة, false ) showCursor ( false ) setCameraTarget (eg) end ) حط اسم اللوحة والاحداثيات!! وتأكد اسم الزر بدون "" جرب Link to comment
al-Kobra Posted February 17, 2014 Share Posted February 17, 2014 addEventHandler ( "onClientGUIClick", اسم البوتون, function ( ) setCameraMatrix ( x, y, z, xl, yl, zl ) showCursor ( not isCursorShowing ( ) ) end ) addCommandHandler ( "الكلمة", function() guiSetVisible ( اسم اللوحة, not guiGetVisible ( اسم اللوحة ) ) showCursor ( not isCursorShowing ( ) ) setCameraTarget ( source ) end ) جرب , Link to comment
فاّرس Posted February 17, 2014 Share Posted February 17, 2014 addEventHandler ( "onClientGUIClick", اسم البوتون, function ( ) setCameraMatrix ( x, y, z, xl, yl, zl ) showCursor ( not isCursorShowing ( ) ) end ) addCommandHandler ( "الكلمة", function() guiSetVisible ( اسم اللوحة, not guiGetVisible ( اسم اللوحة ) ) showCursor ( not isCursorShowing ( ) ) setCameraTarget ( source ) end ) جرب , 4 في سطر false ناقصك وسطر 12 السورس غير معرف. Link to comment
al-Kobra Posted February 17, 2014 Share Posted February 17, 2014 addEventHandler ( "onClientGUIClick", اسم البوتون, function ( ) setCameraMatrix ( x, y, z, xl, yl, zl ) showCursor ( not isCursorShowing ( ) ) end, false ) addCommandHandler ( "الكلمة", function ( ) guiSetVisible ( اسم اللوحة, not guiGetVisible ( اسم اللوحة ) ) showCursor ( not isCursorShowing ( ) ) setCameraTarget ( getLocalPlayer ( ) ) end ) جرب , ------------------------ The Best شكرا على الملاحظة Link to comment
Dr.Xen Posted February 17, 2014 Author Share Posted February 17, 2014 كل شي تمام + مشكورين ,, في مشكلة يوم يروح للكامير اللوحة ما تروح ,, الكود شغال وكلشي تمام بس الماوس يظهر عندما يكتب الكلمة +او يضغط كلوز الخروج addEventHandler ("onClientGUIClick", root, function () if source == Close then guiSetVisible ( GUIEditor.window[1], false ) end end ) addEventHandler ( "onClientGUIClick", GUIEditor.button[3], function ( ) setCameraMatrix ( 1560.1276855469, -1670.8175048828, 55.877300262451, 1559.6396484375, -1670.6237792969, 55.026256561279 ) showCursor ( not isCursorShowing ( ) ) end, false ) addCommandHandler ( "Back", function ( ) guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( not isCursorShowing ( ) ) setCameraTarget ( getLocalPlayer ( ) ) end ) Link to comment
Mr.T9 Posted February 17, 2014 Share Posted February 17, 2014 جرب addEventHandler ("onClientGUIClick", root, function () if source == Close then guiSetVisible ( GUIEditor.window[1], false ) end end ) addEventHandler ( "onClientGUIClick", GUIEditor.button[3], function ( ) setCameraMatrix ( 1560.1276855469, -1670.8175048828, 55.877300262451, 1559.6396484375, -1670.6237792969, 55.026256561279 ) guiSetVisible ( GUIEditor.window[1], false ) end ) addCommandHandler ( "Back", function ( ) guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( not isCursorShowing ( ) ) setCameraTarget ( getLocalPlayer ( ) ) end ) Link to comment
K1NG Posted February 17, 2014 Share Posted February 17, 2014 كل شي تمام + مشكورين ,,في مشكلة يوم يروح للكامير اللوحة ما تروح ,, الكود شغال وكلشي تمام بس الماوس يظهر عندما يكتب الكلمة +او يضغط كلوز الخروج addEventHandler ("onClientGUIClick", root, function () if source == Close then guiSetVisible ( GUIEditor.window[1], false ) end end ) addEventHandler ( "onClientGUIClick", GUIEditor.button[3], function ( ) setCameraMatrix ( 1560.1276855469, -1670.8175048828, 55.877300262451, 1559.6396484375, -1670.6237792969, 55.026256561279 ) showCursor ( not isCursorShowing ( ) ) end, false ) addCommandHandler ( "Back", function ( ) guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( not isCursorShowing ( ) ) setCameraTarget ( getLocalPlayer ( ) ) end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == Close ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor ( false ) elseif ( source == GUIEditor.button[3] ) then setCameraMatrix ( 1560.1276855469, -1670.8175048828, 55.877300262451, 1559.6396484375, -1670.6237792969, 55.026256561279 ) guiSetVisible ( GUIEditor.window[1], false ) showCursor ( false ) setElementFrozen ( localPlayer, true ) end end ) addCommandHandler ( "Back", function ( ) setCameraTarget ( localPlayer ) setElementFrozen ( localPlayer, false ) end ) 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