native

RequestFrame

Syntax

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

Description

Creates a single use hook for the next frame.

Parameters

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

Note

Callback function prototype:
public function(data)

Return

This function has no return value.