Jump to content

[Help] How can i use "text" in Bonus Page?


Go to solution Solved by VegaS™,

Recommended Posts

Hi, i'd like to add the symbol " % " in my Bonus Page.

For example i have this line and in game i see the result of bonus 45*2, how can i add the symbol % at the end of the result?

Thank you

self.GetChild2("Text_Slot29").SetText(str((player.GetStatus(45)*2)))

 

Link to comment
https://metin2.dev/topic/21922-help-how-can-i-use-text-in-bonus-page/
Share on other sites

  • Forum Moderator
  • Solution

You should use a string format method, instead of convert an integer to string then concatenate two strings for no reason.

This is the hidden content, please

  • Dislove 1
  • Love 4

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.