get_user_origin
- Синтаксис
-
native get_user_origin(index, origin[3], mode = 0);
Переменная | Описание |
---|---|
index |
Client index |
origin |
Array to store origin in |
mode |
What type of origin to retrieve: 0 - current position 1 - position of eyes (and weapon) 2 - aim end position from client position 3 - aim end position from eyes (hit point for weapon) 4 - position of last bullet hit (only for Counter-Strike) |
- Описание
- Retrieves an origin related to the client.
- Возвращает
- 1 on success, 0 if client is not connected