AB0 HNAD[e] Posted January 25, 2013 Share Posted January 25, 2013 سسلآآإم ععليكم ورحمهة آلله وبرككآإتهة ككيف الحآإل ؟؟ . طيبون؟ .... آلمهم بغيت اكوآإد لآهنتم وهي كآلآتي : كود يخخلي المود مآإيششتغل آول مآتطب آلسسيرفر :: عششآإني سويت مود ويششتغل اول مآإدخل السسيرفر وكود ربط آمر بآلآزرآر :: يعني مثلآ ظغط اغلآق يسسكر آلمود ( مع المثآإل) وبث جزآإككم آلله خير ملآحظظهة :: آنآ نفر مبتدأ بآلبرمجة >مبتدأ ولآ خبر Link to comment
iPrestege Posted January 25, 2013 Share Posted January 25, 2013 المود مايشتغل عدلها من ملف mtaserver.conf هنا : -- Specifies resources that are loaded when the server starts and/or which are protected from being stopped. To specify several resources, add more parameter(s). --> "admin" startup="1" protected="0" /> "defaultstats" startup="1" protected="0" /> "helpmanager" startup="1" protected="0" /> "RRr" startup="1" protected="0" /> "mapcycler" startup="1" protected="0" /> "mapmanager" startup="1" protected="0" /> "parachute" startup="1" protected="0" /> "resourcebrowser" startup="1" protected="1" default="true" /> "resourcemanager" startup="1" protected="1" /> "scoreboard" startup="1" protected="0" /> "spawnmanager" startup="1" protected="0" /> "voice" startup="1" protected="0" /> "votemanager" startup="1" protected="0" /> -- play is the default freeroam gamemode. Remove the following line to prevent it from starting. --> "play" startup="1" protected="0" /> ومثال على كود الاغلاق : function Hide() if source == الزر then -- اذا كان الزر فـ آن guiSetVisible(النافذهـ, false) -- يخفي النافذهـ او يظهر false < اخفاء , true < اظهار showCursor(false) -- < هذا مسؤول عن اظهار المؤشر false مخفي , true ظاهر end -- الاند الاول تبع الفنكشن end -- الاند الثاني تبع اذا كان if addEventHandler("onClientGUIClick", getRootElement(), Hide) -- الحدث عند ضغط زر في الكلنت في اللوحة على فكرهـ دمكـ خفيف Link to comment
===|OSAMA|=== Posted January 25, 2013 Share Posted January 25, 2013 ومثال على كود الاغلاق : function Hide() if source == الزر then -- اذا كان الزر فـ آن guiSetVisible(النافذهـ, false) -- يخفي النافذهـ او يظهر false < اخفاء , true < اظهار showCursor(false) -- < هذا مسؤول عن اظهار المؤشر false مخفي , true ظاهر end -- الاند الاول تبع الفنكشن end -- الاند الثاني تبع اذا كان if addEventHandler("onClientGUIClick", getRootElement(), Hide) -- الحدث عند ضغط زر في الكلنت في اللوحة ifالأولى لإغلآق الـ endبس حبيت اوضح شي , أنه الـ functionالثآنيةة لإغلآق الـ endو الـ # Link to comment
AB0 HNAD[e] Posted January 25, 2013 Author Share Posted January 25, 2013 المود مايشتغل عدلها من ملف mtaserver.conf هنا : -- Specifies resources that are loaded when the server starts and/or which are protected from being stopped. To specify several resources, add more parameter(s). --> "admin" startup="1" protected="0" /> "defaultstats" startup="1" protected="0" /> "helpmanager" startup="1" protected="0" /> "RRr" startup="1" protected="0" /> "mapcycler" startup="1" protected="0" /> "mapmanager" startup="1" protected="0" /> "parachute" startup="1" protected="0" /> "resourcebrowser" startup="1" protected="1" default="true" /> "resourcemanager" startup="1" protected="1" /> "scoreboard" startup="1" protected="0" /> "spawnmanager" startup="1" protected="0" /> "voice" startup="1" protected="0" /> "votemanager" startup="1" protected="0" /> -- play is the default freeroam gamemode. Remove the following line to prevent it from starting. --> "play" startup="1" protected="0" /> ومثال على كود الاغلاق : function Hide() if source == الزر then -- اذا كان الزر فـ آن guiSetVisible(النافذهـ, false) -- يخفي النافذهـ او يظهر false < اخفاء , true < اظهار showCursor(false) -- < هذا مسؤول عن اظهار المؤشر false مخفي , true ظاهر end -- الاند الاول تبع الفنكشن end -- الاند الثاني تبع اذا كان if addEventHandler("onClientGUIClick", getRootElement(), Hide) -- الحدث عند ضغط زر في الكلنت في اللوحة على فكرهـ دمكـ خفيف مشككووور آإخخوي كود الاغلاق فهمته فهم آلريآضضيآإت >>>>آخصص دآإفور بس ملف mtaserver آنسخ آللي فوقق وآححطة عندي ولآ ككيف ومثال على كود الاغلاق : function Hide() if source == الزر then -- اذا كان الزر فـ آن guiSetVisible(النافذهـ, false) -- يخفي النافذهـ او يظهر false < اخفاء , true < اظهار showCursor(false) -- < هذا مسؤول عن اظهار المؤشر false مخفي , true ظاهر end -- الاند الاول تبع الفنكشن end -- الاند الثاني تبع اذا كان if addEventHandler("onClientGUIClick", getRootElement(), Hide) -- الحدث عند ضغط زر في الكلنت في اللوحة ifالأولى لإغلآق الـ endبس حبيت اوضح شي , أنه الـ functionالثآنيةة لإغلآق الـ endو الـ # مششكور آخوي على تفهيمي آلآيندآت Link to comment
iPrestege Posted January 25, 2013 Share Posted January 25, 2013 العفو بالنسبة للملف الثاني تقدر تعدلة كذا : تلغي اي سطر فية مثل ذا ذذ . Link to comment
===|OSAMA|=== Posted January 25, 2013 Share Posted January 25, 2013 ومثال على كود الاغلاق : function Hide() if source == الزر then -- اذا كان الزر فـ آن guiSetVisible(النافذهـ, false) -- يخفي النافذهـ او يظهر false < اخفاء , true < اظهار showCursor(false) -- < هذا مسؤول عن اظهار المؤشر false مخفي , true ظاهر end -- الاند الاول تبع الفنكشن end -- الاند الثاني تبع اذا كان if addEventHandler("onClientGUIClick", getRootElement(), Hide) -- الحدث عند ضغط زر في الكلنت في اللوحة ifالأولى لإغلآق الـ endبس حبيت اوضح شي , أنه الـ functionالثآنيةة لإغلآق الـ 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