onProcess

Revision as of 02:41, 26 February 2024 by Mex (talk | contribs)

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

Available since Server 1.0.0, Client 1.0.0

onProcess(Event event, int deltaTime)

The onProcess event is invoked when each processing cycle occurs (sometimes referred to as tick or pulse).

Parameters

1) Event event The event object for this event.
2) int deltaTime The delta time for this processing cycle.

Attributes

const This event cannot be cancelled.

Notes

There aren't any notes for this event.

Examples

Example 1 - Lua:

addEventHandler("OnProcess", function(event,deltaTime)
    message("Process event occurred.", COLOUR_RED)
end)

Compatibility

There isn't any compatibility information for this event.

Related

Server Related

        OnProcess


Client Related

        OnProcess