SetThink

Синтаксис

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

Употреба

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

Описание

Sets Think callback for entity

Забележка

Use "" to reset callback

Забележка

Callback should be contains passing arguments as "public Think_Callback(const ent)"

Връщаща стойност

Тази функция няма връщаща стойност.