iMr.SFA7 Posted September 7, 2015 Posted September 7, 2015 أول ما يشتغل السكربت يسمح بخاصية الطيران ذذ "A Year from Now You May Wish You Had Started Today"
TAPL Posted September 7, 2015 Posted September 7, 2015 ذا حق المشي بالسيارة فوق الماء hovercars مو طيران
iMr.SFA7 Posted September 7, 2015 Posted September 7, 2015 سؤال اخر مممكن؟؟ تفضل ذذ ماله داعي تقول ممكن أسأل ذذ "A Year from Now You May Wish You Had Started Today"
taha201100 Posted September 7, 2015 Author Posted September 7, 2015 الحين ضبط التشغيل الطيران الحين عدلت اللوحه وضفت زر ايقاف الطيران بس الحين وش اسوي كيف اربطها نفس المود ممكن مثال شي
iMr.SFA7 Posted September 7, 2015 Posted September 7, 2015 addEventHandler ("onClientGUIClick",resourceRoot, function ( ) if ( source == button ) then setWorldSpecialPropertyEnabled ( "aircars", false ) end end ) button ; آسم الزر "A Year from Now You May Wish You Had Started Today"
taha201100 Posted September 7, 2015 Author Posted September 7, 2015 يعني اسم الزر داخل المربع يعني مثلن كتبت ايقاف الطيران احط ايقاف الطيران؟
iMr.SFA7 Posted September 7, 2015 Posted September 7, 2015 يعني اسم الزر داخل المربع يعني مثلن كتبت ايقاف الطيران احط ايقاف الطيران؟ لا حط آسم الزر المتغير حق أنشاء الزر local button = guiCreateButton ( .............. ) "A Year from Now You May Wish You Had Started Today"
taha201100 Posted September 7, 2015 Author Posted September 7, 2015 ما فهمت اخوي قصدك المهم ذي اللوحه وش اسم الزر الي احطه؟ GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(381, 293, 513, 273, "لوحه التحكم", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(77, 40, 199, 60, "تشغيل الطيران", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(77, 121, 199, 60, "ايقاف الطيران", false, GUIEditor.window[1]) end )
iMr.SFA7 Posted September 7, 2015 Posted September 7, 2015 GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(381, 293, 513, 273, "لوحه التحكم", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(77, 40, 199, 60, "تشغيل الطيران", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(77, 121, 199, 60, "ايقاف الطيران", false, GUIEditor.window[1]) end ) addEventHandler ("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then setWorldSpecialPropertyEnabled ( "aircars", false ) end end ) "A Year from Now You May Wish You Had Started Today"
taha201100 Posted September 7, 2015 Author Posted September 7, 2015 اها فهمت فهمت اوكي بجرب وارد لك خبر وش صار معي +مشكور ما تقصر وخليك لين اجرب لاهنت ذذ
taha201100 Posted September 7, 2015 Author Posted September 7, 2015 تم اشتغل الحمدلله بس في مشكله بالحقيقه لما شغلت المود اشتغل تلقائي ممكن كود الي اختار الزر+لما تفتح اللوحه ما تظهر ماوس ليه
taha201100 Posted September 7, 2015 Author Posted September 7, 2015 يا ريت احد يعطيني وظيفه تخلي اللوحه تفتح بزر معين ولما تفتح يظهر المؤشر+مثال
iMr.SFA7 Posted September 8, 2015 Posted September 8, 2015 GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(381, 293, 513, 273, "لوحه التحكم", false) guiSetVisible ( GUIEditor.window[1],false ) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(77, 40, 199, 60, "تشغيل الطيران", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(77, 121, 199, 60, "ايقاف الطيران", false, GUIEditor.window[1]) end ) bindKey ('F6','down', function ( ) if guiGetVisible ( GUIEditor.window[1] ) == false then guiSetVisible ( GUIEditor.window[1],true ) showCursor ( true ) else guiSetVisible ( GUIEditor.window[1],false ) showCursor ( false ) end end ) addEventHandler ("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then setWorldSpecialPropertyEnabled ( "aircars", false ) end end ) آضغط اف6 "A Year from Now You May Wish You Had Started Today"
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