RequestFrame

Syntax

native RequestFrame(const callback[], any:data = 0);

Usage

callback
Function to be executed on the next frame.
data
Optional data to be passed to the callback function.

Description

Creates a single use hook for the next frame.

Note

Callback function prototype:
    public function(data)

Return

This function has no return value.