native

force_use

Syntax

native force_use(entUsed, entUser);

Description

Forces an entity (such as a player) to use another entity (such as a button).

Parameters

entUsed Index of entity being used
entUser Index of entity using

Return

This function has no return value.

Error

If an invalid entity index is provided or, if either index
is a client index, that client is not connected, an error
will be thrown.