SetTouch
- Синтаксис
-
native SetTouch(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 Touch callback for entity
- Пометка
-
Use "" to reset callback
- Пометка
-
Callback should be contains passing arguments as "public Touch_Callback(const ent, const other)"
- Возвращает
- Функция ничего не возвращает