SetMoveDone

Syntax

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

Usage

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

Description

Sets MoveDone callback for entity

Note

Use "" to reset callback

Note

Entity should be inherited from CBaseToggle, otherwise server can crash

Note

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

Return

This function has no return value.