gui/InternalKeyTyped

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 
{{Func
 
{{Func
|Description=Simulates a ASCII symbol writing.
+
|Description=Simulates an ASCII symbol writing.
Use for write text in chat or VGUI.
+
Use to write text in the chat or in VGUI.
Don't work while console open!
+
Doesn't work while the console is open!
 
|Realm=Client
 
|Realm=Client
 
|IsClass=No
 
|IsClass=No

Revision as of 22:09, 9 January 2016

 gui.InternalKeyTyped( )

Contents

Description

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

Arguments

Examples

Example

Write "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