onCharacter

From GTA Connected
Revision as of 22:09, 11 March 2021 by Mex (talk | contribs)
Jump to navigation Jump to search

Event Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Not Cancellable

Available since Client 1.0.0

function(Event event, string text)

The onCharacter event is invoked when a character key is pressed down. If the character key is held down, the event is triggered repeatedly.

Parameters

1) Event event The event object for this event.
2) string text The character typed.

Attributes

const This event cannot be cancelled.

Notes

There aren't any notes for this event.

Examples

There aren't any examples for this event.

Compatibility

There isn't any compatibility information for this event.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnCharacter
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnKeyDown
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnKeyUp