G.Derma StringRequest

From GMod Wiki

Jump to: navigation, search
Function
Syntax Derma_StringRequest( String title, String text, String default, Function confirm )
Where is this used?
Description:
Prompts a user to enter a text message
Returns: String
Part of Library: Global Functions
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.Derma StringRequest]G.Derma StringRequest [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis will make the user say whatever he enters
Used onNewerClient.png
Code
 
Derma_StringRequest("Speak!", "What would you like to say?", "Hello World", function(text) RunConsoleCommand("say", text) end)
 
OutputNone


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox