gui.InternalKeyTyped

From Garry's Mod
Jump to: navigation, search
 gui.InternalKeyTyped( )

Contents

Description

Simulates an ASCII symbol writing. Use to write text in the chat or in VGUI. Doesn't work while the main menu is open!

Arguments

Examples

Example

Writes "Hello" every think.

hook.Add("Think","Example",function()
	gui.InternalKeyTyped(72)
	gui.InternalKeyTyped(101)
	gui.InternalKeyTyped(108)
	gui.InternalKeyTyped(108)
	gui.InternalKeyTyped(111)
end)


Personal tools
Navigation