taha201100 Posted March 24, 2016 Share Posted March 24, 2016 السلام عليكم ممكن فنكشن لو سويت move للاوبجكت ايقونه بالخريطة تتبع معه ممكن الفنكشنات Link to comment
taha201100 Posted March 24, 2016 Author Share Posted March 24, 2016 +فنكشن يتحقق لو كتب كلمه محددة في اف 8 يتنفذ الامر Link to comment
iMr.WiFi..! Posted March 24, 2016 Share Posted March 24, 2016 (edited) مافهمتك والله بس كود الي لو كتب في اف 8 حاجة -- Client addEvent("omg",true) -- omg هي كلمه تكتبها في اف 8 addEventHandler("omg",root, function () if () then -- سوي التحقق -- الكود end ) ماهي مجربهه Edited March 24, 2016 by Guest Link to comment
taha201100 Posted March 24, 2016 Author Share Posted March 24, 2016 وش بكم انت انا اطلب فنكشنات وانتو تعطوني جاهز؟؟ يعني وش السالفه Link to comment
iMr.WiFi..! Posted March 24, 2016 Share Posted March 24, 2016 الحين الغرض من ذذ الكود يساعدك في الفهم لو ماتبي جاهز غض النظر عن الكود الجاهز addEvent addEventHandler if , then -- تحقق ذذي الاكواد Link to comment
taha201100 Posted March 24, 2016 Author Share Posted March 24, 2016 اول فنكشن ماله علاقه بطلبي ذا مشان لو ابي اربط من كلنت لسيرفر مع الترايقر شكلك لسه جديد ضض بأنتضار الشباب Link to comment
YourMind Posted March 24, 2016 Share Posted March 24, 2016 السلام عليكمممكن فنكشن لو سويت move للاوبجكت ايقونه بالخريطة تتبع معه ممكن الفنكشنات moveObject -- لتحريك الاوجبكت createBlipAttachedTo -- صنع ايقونة متحركة مع الشئ اللي انت عايزه مافهمتك والله بسكود الي لو كتب في اف 8 حاجة -- Client addEvent("omg",true) -- omg هي كلمه تكتبها في اف 8 addEventHandler("omg",root, function () if () then -- سوي التحقق -- الكود end ) ماهي مجربهه للأسف غلط addCommandHandler Link to comment
taha201100 Posted March 24, 2016 Author Share Posted March 24, 2016 تم اخي شكرا بس باقي ابي تحقق لو كتب كلمه معنية في اف 8 يتنفذ الامر +وش احتاج فنكشنات مشان اخليه الايقونه تنحط على لاعب Link to comment
#Soking Posted March 24, 2016 Share Posted March 24, 2016 Object = createObject ( ID, x,y,z, 0, 0, 0 ) addCommandHandler('Move', function ( ) moveObject ( Object , 3000, x, y, z ) local TestBlip = createBlipAttachedTo ( Object, 52 ) end ) Link to comment
taha201100 Posted March 24, 2016 Author Share Posted March 24, 2016 addCommandHandler('Move', function ( ) Object = createObject ( ID, x,y,z, 0, 0, 0 ) moveObject ( Object , 3000, x, y, z ) local TestBlip = createBlipAttachedTo ( Object, 52 ) end ) يخي مشان ربك افهم عربي يا تساعدني دون جاهز يا انسى ترا ابي احاول اسوي بنفسي Link to comment
#Soking Posted March 24, 2016 Share Posted March 24, 2016 اوك شوف الكود عدلته وصار تمام ههههه Link to comment
#Soking Posted March 24, 2016 Share Posted March 24, 2016 local TestBlip = createBlipAttachedTo ( Object, 52 ) Object == متغير حق createObject مثال Object = createObject ( ID, x,y,z, 0, 0, 0 ) و 52 رقم العلامه العلامات كلها تحصلها هنا https://wiki.multitheftauto.com/wiki/Radar_Blips TestBlip == متغير للفنكشن مشان لو حبيت تسوي اشياء على العلامه مثل مثل هيك getBlipColor getBlipIcon getBlipSize setBlipColor setBlipIcon setBlipSize getBlipOrdering setBlipOrdering getBlipVisibleDistance setBlipVisibleDistance Link to comment
taha201100 Posted March 24, 2016 Author Share Posted March 24, 2016 addEventHandler ("onClientMarkerHit", root, function (ss) if ( source == Marker ) and ( ss == localplayer ) then guiSetVisible(GUIEditor.window[2],true) showCursor(true) end end ) لما المس الماركر ما تتطلع ارتفع ضغطي منها مع انه ما اشوف فيه اخطاء Link to comment
Jupi Posted March 24, 2016 Share Posted March 24, 2016 addEventHandler ("onClientMarkerHit", root, function (ss) if ( source == Marker ) and ( ss == localplayer ) then guiSetVisible(GUIEditor.window[2],true) showCursor(true) end end ) لما المس الماركر ما تتطلع ارتفع ضغطي منها مع انه ما اشوف فيه اخطاء وريني الميتا Link to comment
Jupi Posted March 24, 2016 Share Posted March 24, 2016 ما فيه شي الميتا وريني كودك كامل طيب Link to comment
Me[Z]oO Posted March 24, 2016 Share Posted March 24, 2016 اطرح اكواد تصميم الي صممتها ب guieditor Link to comment
taha201100 Posted March 24, 2016 Author Share Posted March 24, 2016 Marker = createMarker (212.41289,1822.86047,5.41406,"cylinder",1,235,155,26,55) GUIEditor = { button = {}, window = {}, staticimage = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(247, 224, 177, 111, "s", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible ( GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(12, 36, 155, 38, "sds", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") GUIEditor.window[2] = guiCreateWindow(824, 245, 283, 399, "54", false) guiWindowSetSizable(GUIEditor.window[2], false) GUIEditor.staticimage[1] = guiCreateStaticImage(70, 22, 150, 122, "images/11.png", false, GUIEditor.window[2]) GUIEditor.button[2] = guiCreateButton(9, 170, 125, 31, "566", false, GUIEditor.window[2]) GUIEditor.button[3] = guiCreateButton(148, 169, 125, 31, "dfdf", false, GUIEditor.window[2]) GUIEditor.button[4] = guiCreateButton(9, 210, 125, 31, "dfdfdf", false, GUIEditor.window[2]) GUIEditor.button[5] = guiCreateButton(148, 210, 125, 31, "bfg", false, GUIEditor.window[2]) GUIEditor.label[1] = guiCreateLabel(96, 144, 149, 26, "fgrt", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[1], "default-bold-small") GUIEditor.label[2] = guiCreateLabel(98, 246, 149, 26, "rtrt", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.button[6] = guiCreateButton(10, 272, 125, 31, "rtrtr", false, GUIEditor.window[2]) GUIEditor.button[7] = guiCreateButton(149, 272, 124, 31, "rtrtrt", false, GUIEditor.window[2]) GUIEditor.button[8] = guiCreateButton(245, 367, 28, 22, "X", false, GUIEditor.window[2]) GUIEditor.window[3] = guiCreateWindow(501, 322, 249, 204, "البوابة الخارجية", false) guiWindowSetSizable(GUIEditor.window[3], false) guiSetVisible ( GUIEditor.window[3], false) GUIEditor.button[9] = guiCreateButton(12, 45, 227, 27, "vffg", false, GUIEditor.window[3]) guiSetFont(GUIEditor.button[9], "default-bold-small") GUIEditor.button[10] = guiCreateButton(12, 82, 227, 27, "4545", false, GUIEditor.window[3]) guiSetFont(GUIEditor.button[10], "default-bold-small") GUIEditor.button[11] = guiCreateButton(12, 119, 227, 27, "bfgfg", false, GUIEditor.window[3]) guiSetFont(GUIEditor.button[11], "default-bold-small") GUIEditor.button[12] = guiCreateButton(12, 156, 226, 27, "gfgfgf", false, GUIEditor.window[3]) guiSetFont(GUIEditor.button[12], "default-bold-small") GUIEditor.window[4] = guiCreateWindow(193, 395, 249, 204, "fgfddf", false) guiWindowSetSizable(GUIEditor.window[4], false) guiSetVisible ( GUIEditor.window[4], false) GUIEditor.button[13] = guiCreateButton(9, 43, 230, 28, "6666", false, GUIEditor.window[4]) GUIEditor.button[14] = guiCreateButton(12, 81, 227, 28, "7677", false, GUIEditor.window[4]) GUIEditor.button[15] = guiCreateButton(12, 119, 227, 28, "5646", false, GUIEditor.window[4]) GUIEditor.button[16] = guiCreateButton(10, 157, 227, 28, "4565464", false, GUIEditor.window[4]) addEventHandler ("onClientMarkerHit", root, function (ss) if ( source == Marker ) and ( ss == localplayer ) then guiSetVisible(GUIEditor.window[2],true) showCursor(true) end end ) لسه مسوي اكواد تحت بس مالهم علاقة Link to comment
#Soking Posted March 24, 2016 Share Posted March 24, 2016 addEventHandler ("onClientMarkerHit", root, function ( hitElement ) if ( source == Marker ) and ( hitElement == localplayer ) then guiSetVisible(GUIEditor.window[2],true) showCursor(true) end end ) ترتيب للاكواد بسس بس عندي سؤال وين كود انشاء المركر ؟ Link to comment
taha201100 Posted March 24, 2016 Author Share Posted March 24, 2016 addEventHandler ("onClientMarkerHit", root, function ( hitElement ) if ( source == Marker ) and ( hitElement == localplayer ) then guiSetVisible(GUIEditor.window[2],true) showCursor(true) end end ) ترتيب للاكواد بسس بس عندي سؤال وين كود انشاء المركر ؟ فوق اول شي Link to comment
taha201100 Posted March 24, 2016 Author Share Posted March 24, 2016 +مو ضاابط وقسم محتار وش المشكله Link to comment
taha201100 Posted March 24, 2016 Author Share Posted March 24, 2016 بسوي لوحات جديدة بجوز صار في خطأ بس بخصوص لما يعطيه كاميرا وبعدين اخليه يرجع مثل ما كان setCameraTarget ( localplayer ) بس مو ضابط وحطيت احداثيات نفس الشي 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