Jump to content

طلب كود تغير الخط


Recommended Posts

السلام عليكم ورحمة الله وبركاته

مثل مايبين من العنوان ابغي كود عشان اقدر اغير خط الفري روم حقي

طلبتكم تسونه لي :

       guiSetProperty(getControl(wndMain, "wnd"), "CaptionColour", "FFff0000") 
        guiWindowSetMovable(getControl(wndMain, "wnd"), false) 
  guiSetProperty(getControl(wndMain, "انتحار"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "انتحار"), "HoverTextColour", "FFff0000") 
  setElementData(getControl(wndMain, "انتحار"), "tooltip-text", "انتحار", false) 
  guiSetProperty(getControl(wndMain, "انتحار"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "انتحار"), "default-bold-small") 
    guiSetProperty(getControl(wndMain, "السيارات"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "السيارات"), "HoverTextColour", "FFff0000") 
  guiSetFont(getControl(wndMain, "السيارات"), "default-bold-small")   
  guiSetProperty(getControl(wndMain, "الشخصيات"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الشخصيات"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الشخصيات"), "tooltip-text", "characters", false) 
  guiSetProperty(getControl(wndMain, "الشخصيات"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الشخصيات"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الحركات"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الحركات"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الحركات"), "tooltip-text", "animation", false) 
  guiSetProperty(getControl(wndMain, "الحركات"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الحركات"), "1.ttf") 
  guiSetProperty(getControl(wndMain, "الملابس"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الملابس"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الملابس"), "tooltip-text", "الملابس", false) 
  guiSetProperty(getControl(wndMain, "الملابس"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الملابس"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الادوات"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الادوات"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الادوات"), "tooltip-text", "الادوات", false) 
  guiSetProperty(getControl(wndMain, "الادوات"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الادوات"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الجادبية"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الجادبية"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الجادبية"), "tooltip-text", "playergrav", false) 
  guiSetProperty(getControl(wndMain, "الجادبية"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الجادبية"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الحالة"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الحالة"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الحالة"), "tooltip-text", "State", false) 
  guiSetProperty(getControl(wndMain, "الحالة"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الحالة"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الانتقال"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الانتقال"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الانتقال"), "tooltip-text", "الانتقال", false) 
  guiSetProperty(getControl(wndMain, "الانتقال"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الانتقال"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الخريطة"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الخريطة"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الخريطة"), "tooltip-text", "Map", false) 
  guiSetProperty(getControl(wndMain, "الخريطة"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الخريطة"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "اختيار"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "اختيار"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "اختيار"), "tooltip-text", "createvehicle", false) 
  guiSetProperty(getControl(wndMain, "اختيار"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "اختيار"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "اصلاح"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "اصلاح"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "اصلاح"), "tooltip-text", "اصلاح", false) 
  guiSetProperty(getControl(wndMain, "اصلاح"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "اصلاح"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "انقلاب"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "انقلاب"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "انقلاب"), "tooltip-text", "Coup", false) 
  guiSetProperty(getControl(wndMain, "انقلاب"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "انقلاب"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الالوان"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الالوان"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الالوان"), "tooltip-text", "Colors", false) 
  guiSetProperty(getControl(wndMain, "الالوان"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الالوان"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "النفاثة"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "النفاثة"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "النفاثة"), "tooltip-text", "Jet", false) 
  guiSetFont(getControl(wndMain, "النفاثة"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "lightson"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "lightson"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "lightson"), "tooltip-text", "تشغيل المصابيح", false) 
  guiSetFont(getControl(wndMain, "lightson"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "lightsoff"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "lightsoff"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "lightsoff"), "tooltip-text", "اطفاء المصابيح", false) 
  guiSetFont(getControl(wndMain, "lightsoff"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "حفظ الأماكن"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "حفظ الأماكن"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "حفظ الأماكن"), "tooltip-text", "حفظ الأماكن", false) 
  guiSetProperty(getControl(wndMain, "حفظ الأماكن"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "حفظ الأماكن"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "السقوط من الدراجة"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "السقوط من الدراجة"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "السقوط من الدراجة"), "tooltip-text", "Server Bookmarks", false) 
  guiSetProperty(getControl(wndMain, "السقوط من الدراجة"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "السقوط من الدراجة"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الاماكن"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الاماكن"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الاماكن"), "tooltip-text", "Places", false) 
  guiSetProperty(getControl(wndMain, "الاماكن"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الاماكن"), "default-bold-small") 
  
  guiLabelSetColor(getControl(wndMain, "w1"), 255, 255, 0) 
  guiLabelSetColor(getControl(wndMain, "w2"), 255, 255, 0) 
  guiLabelSetColor(getControl(wndMain, "w3"), 255, 255, 0) 
  guiLabelSetColor(getControl(wndMain, "curvehicle"), 0, 255, 0) 
  
end 
  
  

ابي استبدله بكود ثاني اخل فيه الخط الي ابيه

ارجو انكم تساعدوني واكون شاكر لكم

Edited by Guest
Link to comment
السلام عليكم ورحمة الله وبركاته

مثل مايبين من العنوان ابغي كود عشان اقدر اغير خط الفري روم حقي

الكود الي انا حاطه هو الاصلي :

guiSetFont(getControl(wndMain, "انتحار"), "default-bold-small")

ابي استبدله بكود ثاني اخل فيه الخط الي ابيه

ارجو انكم تساعدوني واكون شاكر لكم

غير default-bold-small

باسم الخط حقك مع ضيغة الخط ttf

Link to comment
السلام عليكم ورحمة الله وبركاته

مثل مايبين من العنوان ابغي كود عشان اقدر اغير خط الفري روم حقي

الكود الي انا حاطه هو الاصلي :

guiSetFont(getControl(wndMain, "انتحار"), "default-bold-small")

ابي استبدله بكود ثاني اخل فيه الخط الي ابيه

ارجو انكم تساعدوني واكون شاكر لكم

غير default-bold-small

باسم الخط حقك مع ضيغة الخط ttf

مينفع :\

Link to comment

هذي الاكواد الاصليه

الحين انا مسمي الخط

1.ttf

وضفته الى ملف الميتا

والحين ابي الخط يصير على الفري روم

وهذي الاكودا الموجوده في الفري روم

اذ امكن تسونها لي عشان اخليها بالخط الي ابيه

  guiSetProperty(getControl(wndMain, "wnd"), "CaptionColour", "FFff0000") 
        guiWindowSetMovable(getControl(wndMain, "wnd"), false) 
  guiSetProperty(getControl(wndMain, "انتحار"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "انتحار"), "HoverTextColour", "FFff0000") 
  setElementData(getControl(wndMain, "انتحار"), "tooltip-text", "انتحار", false) 
  guiSetProperty(getControl(wndMain, "انتحار"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "انتحار"), "default-bold-small") 
    guiSetProperty(getControl(wndMain, "السيارات"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "السيارات"), "HoverTextColour", "FFff0000") 
  guiSetFont(getControl(wndMain, "السيارات"), "default-bold-small")   
  guiSetProperty(getControl(wndMain, "الشخصيات"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الشخصيات"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الشخصيات"), "tooltip-text", "characters", false) 
  guiSetProperty(getControl(wndMain, "الشخصيات"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الشخصيات"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الحركات"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الحركات"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الحركات"), "tooltip-text", "animation", false) 
  guiSetProperty(getControl(wndMain, "الحركات"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الحركات"), "1.ttf") 
  guiSetProperty(getControl(wndMain, "الملابس"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الملابس"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الملابس"), "tooltip-text", "الملابس", false) 
  guiSetProperty(getControl(wndMain, "الملابس"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الملابس"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الادوات"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الادوات"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الادوات"), "tooltip-text", "الادوات", false) 
  guiSetProperty(getControl(wndMain, "الادوات"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الادوات"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الجادبية"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الجادبية"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الجادبية"), "tooltip-text", "playergrav", false) 
  guiSetProperty(getControl(wndMain, "الجادبية"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الجادبية"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الحالة"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الحالة"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الحالة"), "tooltip-text", "State", false) 
  guiSetProperty(getControl(wndMain, "الحالة"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الحالة"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الانتقال"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الانتقال"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الانتقال"), "tooltip-text", "الانتقال", false) 
  guiSetProperty(getControl(wndMain, "الانتقال"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الانتقال"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الخريطة"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الخريطة"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الخريطة"), "tooltip-text", "Map", false) 
  guiSetProperty(getControl(wndMain, "الخريطة"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الخريطة"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "اختيار"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "اختيار"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "اختيار"), "tooltip-text", "createvehicle", false) 
  guiSetProperty(getControl(wndMain, "اختيار"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "اختيار"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "اصلاح"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "اصلاح"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "اصلاح"), "tooltip-text", "اصلاح", false) 
  guiSetProperty(getControl(wndMain, "اصلاح"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "اصلاح"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "انقلاب"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "انقلاب"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "انقلاب"), "tooltip-text", "Coup", false) 
  guiSetProperty(getControl(wndMain, "انقلاب"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "انقلاب"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الالوان"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الالوان"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الالوان"), "tooltip-text", "Colors", false) 
  guiSetProperty(getControl(wndMain, "الالوان"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الالوان"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "النفاثة"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "النفاثة"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "النفاثة"), "tooltip-text", "Jet", false) 
  guiSetFont(getControl(wndMain, "النفاثة"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "lightson"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "lightson"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "lightson"), "tooltip-text", "تشغيل المصابيح", false) 
  guiSetFont(getControl(wndMain, "lightson"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "lightsoff"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "lightsoff"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "lightsoff"), "tooltip-text", "اطفاء المصابيح", false) 
  guiSetFont(getControl(wndMain, "lightsoff"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "حفظ الأماكن"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "حفظ الأماكن"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "حفظ الأماكن"), "tooltip-text", "حفظ الأماكن", false) 
  guiSetProperty(getControl(wndMain, "حفظ الأماكن"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "حفظ الأماكن"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "السقوط من الدراجة"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "السقوط من الدراجة"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "السقوط من الدراجة"), "tooltip-text", "Server Bookmarks", false) 
  guiSetProperty(getControl(wndMain, "السقوط من الدراجة"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "السقوط من الدراجة"), "default-bold-small") 
  guiSetProperty(getControl(wndMain, "الاماكن"), "NormalTextColour", "FFFFFF00") 
  guiSetProperty(getControl(wndMain, "الاماكن"), "HoverTextColour", "FFffac00") 
  setElementData(getControl(wndMain, "الاماكن"), "tooltip-text", "Places", false) 
  guiSetProperty(getControl(wndMain, "الاماكن"), "PushedTextColour", "FF00ff00") 
  guiSetFont(getControl(wndMain, "الاماكن"), "default-bold-small") 
  
  guiLabelSetColor(getControl(wndMain, "w1"), 255, 255, 0) 
  guiLabelSetColor(getControl(wndMain, "w2"), 255, 255, 0) 
  guiLabelSetColor(getControl(wndMain, "w3"), 255, 255, 0) 
  guiLabelSetColor(getControl(wndMain, "curvehicle"), 0, 255, 0) 
  
end 
  
  

Link to comment

تم الافادة

من الاخ الكوبراا

للافادة الكود هو

    font = guiCreateFont( "اسم الخط.ttf", 20 ) -- هذا لا تغيره 
    guiSetFont ( getControl(wndMain, "انتحار"), font ) getControl(wndMain, "انتحار") 

Link to comment
تم الافادة

من الاخ الكوبراا

للافادة الكود هو

    font = guiCreateFont( "اسم الخط.ttf", 20 ) -- هذا لا تغيره 
    guiSetFont ( getControl(wndMain, "انتحار"), font ) getControl(wndMain, "انتحار") 

خلي ال 20

10

علشان ما يطلع خط كبير

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...