native

SetUse

Syntax

native SetUse(const ent, const callback[], const params[] = "", const len = 0);

Description

Sets Use callback for entity

Parameters

entity Entity index
callback The forward to call
params Optional set of data to pass through to callback
len Optional size of data

Note

Use "" to reset callback

Note

Callback should be contains passing arguments as "public Use_Callback(const ent, const activator, const caller, USE_TYPE:useType, Float:value)"

Return

This function has no return value.