get_user_attacker
- Синтаксис
-
native get_user_attacker(index, ...);
Переменная | Описание |
---|---|
index |
Client index |
... |
If provided, the attacker weapon will be stored in an optional second parameter, and the body hit place will be stored in an optional third parameter |
- Описание
- Returns the last known attacker of a client.
- Пометка
-
As of AMXX 1.75 this can return a non-client entity index if the client was attacked by a non-client entity.
- Возвращает
- Attacker client index, a non-client entity or 0 if no attacker was found