Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 13 14 15 16 17 18 Next »
Help with string.char()
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Help with string.char()
24-06-2015, 06:35 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Help with string.char()
The key argument isn't a character, it's an enum the Source engine uses to pick up keys. That's why you're getting weird characters.

You need to translate from the enum to the key it represents. All the enums are stored in the input library, the ones you want are the KEY_ enums. Look in the docs tab for a list of all of them.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Help with string.char() - by SuperPlayer - 24-06-2015, 05:58 PM
RE: Help with string.char() - by Person8880 - 24-06-2015, 06:35 PM
RE: Help with string.char() - by SuperPlayer - 24-06-2015, 07:05 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.