G.ErrorNoHalt

From GMod Wiki

Jump to: navigation, search
Function
Syntax ErrorNoHalt( String message )
Where is this used?
Description:
Similiar to Error, this function will print an error without halting the script. The color of the text is dependant on whether it is run on the client or server.
Returns: nil
Part of Library: Global Functions
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.ErrorNoHalt]G.ErrorNoHalt [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionOutputs Error to console.
Used onNewerClient.png
Code
ErrorNoHalt("MyScript: Failed to load necessary resources!\n")
OutputYellow text in the console of the client this runs on.


DescriptionOutputs Error to console.
Used onNewerServer.png
Code
ErrorNoHalt("MyScript: Failed initilization!\n")
OutputBlue text in the console of the server.


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox