AMX Mod X API Documentation

Signature
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
No return value
Errors
  • 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.

Назад
Верх