AcceptEntityInput
Invokes a named input method on an entity.
After completion (successful or not), the current global variant is re-initialized.
native bool AcceptEntityInput(int dest, const char[] input, int activator = -1, int caller = -1, int outputid = 0)
Parameters
int dest
Destination entity index.
const char[] input
Input action.
int activator
Entity index which initiated the sequence of actions (-1 for a NULL entity).
int caller
Entity index from which this event is sent (-1 for a NULL entity).
Return Value
bool True if successful otherwise false.Error
Invalid entity index or no mod support.