1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

GM:S 1.4 Translating key value to string

Discussion in 'Programming' started by HenrikoNumberOne, Jan 18, 2018.

  1. Hello! I am trying to translate a pressed key value (say, '72' which is the value for the 'H' key) to a string, but I can't get it to work. Any ideas?
  2. stainedofmind

    stainedofmind Member

    Jun 20, 2016
    my_value = 72;
    my_string = chr(my_value);
    HenrikoNumberOne likes this.
  3. Thanks my dude!

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice