PaiN^ Posted April 5, 2013 Posted April 5, 2013 يب الملفات متأكد منهأ,, طيب متأكد من إن الملفات ماهي موجودة داخل ملف ثاني في المود + إنها شغالة أصلاً ؟
iPrestege Posted April 5, 2013 Posted April 5, 2013 يمكن عندك " او شيء ناقص هذا الميتا حقةة ضابط تمآم #
فاّرس Posted April 5, 2013 Author Posted April 5, 2013 آبي كود,, -1 ابي اذا ضغط كلك يمين على اي سياره بعدين احط الوظيفهه,,
===|OSAMA|=== Posted April 5, 2013 Posted April 5, 2013 آبي كود,,-1 ابي اذا ضغط كلك يمين على اي سياره بعدين احط الوظيفهه,, -- Server Side ! addEventHandler ( "onElementClicked", root, function ( Mouse, State ) if ( Mouse == "right" ) and ( State == "down" ) and ( getElementType ( source ) == "vehicle" ) then -- Your Code end end )
فاّرس Posted April 5, 2013 Author Posted April 5, 2013 آبي كود,,-1 ابي اذا ضغط كلك يمين على اي سياره بعدين احط الوظيفهه,, -- Server Side ! addEventHandler ( "onElementClicked", root, function ( Mouse, State ) if ( Mouse == "right" ) and ( State == "down" ) and ( getElementType ( source ) == "vehicle" ) then -- Your Code end end ) طيب واذا ابي اذا ضغط على اي شيء ولو كان لاعب,,
===|OSAMA|=== Posted April 5, 2013 Posted April 5, 2013 آبي كود,,-1 ابي اذا ضغط كلك يمين على اي سياره بعدين احط الوظيفهه,, -- Server Side ! addEventHandler ( "onElementClicked", root, function ( Mouse, State ) if ( Mouse == "right" ) and ( State == "down" ) and ( getElementType ( source ) == "vehicle" ) then -- Your Code end end ) طيب واذا ابي اذا ضغط على اي شيء ولو كان لاعب,, لو تبيه إذا ضغط على أي شي يصير كذا , addEventHandler ( "onElementClicked", root, function ( Mouse, State ) if ( Mouse == "right" ) and ( State == "down" ) then -- Your Code end end ) ================= أما لو تبيه إذا ضغط على لاعب يصير كذآ , addEventHandler ( "onElementClicked", root, function ( Mouse, State ) if ( Mouse == "right" ) and ( State == "down" ) and ( getElementType ( source ) == "player" ) then -- Your Code end end )
فاّرس Posted April 5, 2013 Author Posted April 5, 2013 يعطيك العافيهه, اقدر استخدم guiSetPosition عشان اخلي الاشياء تطير؟
===|OSAMA|=== Posted April 5, 2013 Posted April 5, 2013 يعطيك العافيهه,اقدر استخدم guiSetPosition عشان اخلي الاشياء تطير؟ كيف يعني تطير ؟ .. : / الفنكشن ذا ، يستخدم لتحديد مكان عنصر واجهة المستخدم الرسومية ..
TAPL Posted April 5, 2013 Posted April 5, 2013 يعطيك العافيهه,اقدر استخدم guiSetPosition عشان اخلي الاشياء تطير؟ setElementVelocity
فاّرس Posted April 5, 2013 Author Posted April 5, 2013 يعطيك العافيهه,اقدر استخدم guiSetPosition عشان اخلي الاشياء تطير؟ setElementVelocity اشرح لي ذآ: bool setElementVelocity ( element theElement, float speedX, float speedY, float speedZ ) آي المنت يقصد + اي سرعه؟
TAPL Posted April 5, 2013 Posted April 5, 2013 يعطيك العافيهه,اقدر استخدم guiSetPosition عشان اخلي الاشياء تطير؟ setElementVelocity اشرح لي ذآ: bool setElementVelocity ( element theElement, float speedX, float speedY, float speedZ ) آي المنت يقصد + اي سرعه؟ Required ArgumentstheElement: The element you wish to set the velocity of. speedX: A floating point value determining the speed along the X axis. speedY: A floating point value determining the speed along the Y axis. speedZ: A floating point value determining the speed along the Z axis.
فاّرس Posted April 5, 2013 Author Posted April 5, 2013 يعطيك الععافيهه + الـ x,y,z آخذها من الادمنيه؟
فاّرس Posted April 5, 2013 Author Posted April 5, 2013 ذي مو احداثياتذا يبي السرعة أنت ايش تبي تسوي بالضبط؟ الزبدهه آبي اذا ضغطت كلك يمين آخلي سيارتي تطير,,
فاّرس Posted April 5, 2013 Author Posted April 5, 2013 تطير يعني تمشي في الهوا أو تنقز فوق و ثم تطيح؟ هههههه آقصد آنآ آمشيهآ يعني لو احرك الماوس يمين تروح يمين الخ...
TAPL Posted April 5, 2013 Posted April 5, 2013 أها أضن انك تقصد ذا الفنكشن https://wiki.multitheftauto.com/wiki/SetWorldSpecialPropertyEnabled
فاّرس Posted April 5, 2013 Author Posted April 5, 2013 أهاأضن انك تقصد ذا الفنكشن https://wiki.multitheftauto.com/wiki/SetWorldSpecialPropertyEnabled آقصد مثلا قدامك سياره تضغط عليها كلك يسار تخليها تطير وتمشي معك وانت مو راكب فيها
فاّرس Posted April 5, 2013 Author Posted April 5, 2013 ~_~قصدك تلصق فيك؟ يآخي لآ بعطيك مثآل تعرف سوبر مآن ض1 يعني انت طلعت سياره تضغط كلك يمين بدون ما تركب وتخلي السياره تطلع فوق يعني تطير بالهوا, وانت اذا لفيت بالمواس يمين السياره تلف معك وهي بالجو, ولو لفيت يسار مثلها,, آتوقع انه كود تعجيزي
TAPL Posted April 5, 2013 Posted April 5, 2013 أهااا قصدك تبي تمسك السيارة بالماوس و تحركها خخخ أضن تقدر تستخدم معه الأفنت ذا onClientCursorMove تستخدم ذي الأحداثيات worldX, worldY, worldZ: the 3D in-game world coordinates that the cursor is pointing at. و تحطها للسيارة بالفنكشن ذا setElementPosition
فاّرس Posted April 5, 2013 Author Posted April 5, 2013 أهاااقصدك تبي تمسك السيارة بالماوس و تحركها خخخ أضن تقدر تستخدم معه الأفنت ذا onClientCursorMove تستخدم ذي الأحداثيات worldX, worldY, worldZ: the 3D in-game world coordinates that the cursor is pointing at. و تحطها للسيارة بالفنكشن ذا setElementPosition ترآني مآ افهم بالاحداثيآت ,, الاول السرعه,, worldX, worldY, worldZ,, حق وش, من الادمنيه,؟
TAPL Posted April 5, 2013 Posted April 5, 2013 لا ذا يجي مع الأفنت أفتح الويكي https://wiki.multitheftauto.com/wiki/OnClientCursorMove Parameters شوف الـ float cursorX, float cursorY, int absoluteX, int absoluteY, float worldX, float worldY, float worldZ cursorX: the relative X coordinate of the mouse cursor. 0 = left side of the screen, 1 = right side. cursorY: the relative Y coordinate of the mouse cursor. 0 = top of the screen, 1 = bottom. absoluteX: the X coordinate of the mouse cursor, in pixels, measured from the left side of the screen. absoluteY: the Y coordinate of the mouse cursor, in pixels, measured from the top of the screen. worldX, worldY, worldZ: the 3D in-game world coordinates that the cursor is pointing at. (depth) الأفضل تستخدم الفنكشن ذا عشان تقدر تحدد المدى https://wiki.multitheftauto.com/wiki/GetWorldFromScreenPosition
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