Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=============================================================================#
- # Puma's Fontchange Version 0.4 #
- # No need to credit me. #
- #=============================================================================#
- # Instructions: #
- #-----------------------------------------------------------------------------#
- # To change the font ingame, use a script call with the following arguments. #
- # #
- # puma_fontedit_changefont(name, size, bold, italic, shadow) #
- # #
- # name: For example, "Times New Roman" #
- # size: Size of the text, in pt def: "20" #
- # bold: Want your text to be bold? true/false; def: false #
- # italic: Want your text to be italic? true/false; def: false #
- # shadow: Want to draw a shadow? true/false; def: true #
- # #
- #=============================================================================#
- #---------------------------------------------------#
- #Default Settings, these apply when the game starts.#
- #---------------------------------------------------#
- Font.default_name = "Times New Roman" #Schriftart
- Font.default_size = 20 # Font Size
- Font.default_bold = false # If true, the font will be printed out bold.
- Font.default_italic = false # If true, the font will be printed out italic.
- Font.default_shadow = true # If true, the font will be drawn with a shadow.
- #=============================================================================#
- # Changing anything past this point might lead to self-ignition, explosion of #
- # vital organs, brain damage or equally bad things. Edit at your own risk. #
- #=============================================================================#
- #New Method#
- def puma_fontedit_changefont(name, size, bold, italic, shadow)
- Font.default_name = name
- Font.default_size = size
- Font.default_bold = bold
- Font.default_italic = italic
- Font.default_shadow = shadow
- end
Advertisement
Add Comment
Please, Sign In to add comment