SetBlocked

Syntax

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

Usage

Parameter Description
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 Blocked callback for entity

Note

  • Use "" to reset callback
  • Callback should be contains passing arguments as "public Blocked_Callback(const ent, const other)"

Return

This function has no return value.