OnClientConsole: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (See Also for other client events) |
||
Line 14: | Line 14: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See Also== | |||
===Other client events=== | |||
{{Client_other_events}} | |||
===Client event functions=== | |||
{{Client_event_functions}} |
Revision as of 13:03, 12 January 2008
This event is triggered when the local player enters text in the console. Note that, if you want to add custom console commands, it is easier to the addCommandHandler function.
Parameters
string text
- text: the text line that was entered.
Example
See Also
Other client events
- onClientChatMessage
- onClientConsole
- onClientDebugMessage
- onClientExplosion
- onClientFileDownloadComplete
- onClientHUDRender
- onClientMinimize
- onClientMTAFocusChange
- onClientPedsProcessed
- onClientPlayerNetworkStatus
- onClientPreRender
- onClientRender
- onClientRestore
- onClientTransferBoxProgressChange
- onClientTransferBoxVisibilityChange
- onClientWorldSound
Client event functions
- triggerLatentServerEvent
- triggerServerEvent
- Shared
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled