OnBeforeProcessCamera: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
|cancel = false | |cancel = false | ||
|exampleLuaCS = addEventHandler("onBeforeProcessCamera", function(event) | |exampleLuaCS = addEventHandler("onBeforeProcessCamera", function(event) | ||
message("The camera is about to be processed.", COLOUR_ORANGE) | |||
end) | end) | ||
}} | }} | ||
Latest revision as of 18:31, 15 June 2026
Event Client Only
![]()
Online and Offline Not Cancellable
Available since Client 1.0.0
onBeforeProcessCamera(Event event)
The onBeforeProcessCamera event is invoked when each camera processing occurrence occurs, before the camera is processed.
Parameters
| void | This event doesn't take any parameters. |
Attributes
| const | This event cannot be cancelled. |
Notes
There aren't any notes for this event.
Examples
Example 1 - Lua - Client-Side:
addEventHandler("onBeforeProcessCamera", function(event)
message("The camera is about to be processed.", COLOUR_ORANGE)
end)
Compatibility
There isn't any compatibility information for this event.
Related
Client Related
OnBeforeProcessCamera
OnCameraProcess