/* Returns 1 if user is using a stationary gun, else 0.
*/
native cs_get_user_stationary(index);
Синтаксис:
cs_get_user_stationary(index)
- index - Индекс игрока
Тип функции:
Native
Пример:
--
Описание:
--
--
« Ноябрь 2023 » | ||||||
---|---|---|---|---|---|---|
Пн | Вт | Ср | Чт | Пт | Сб | Вс |
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
/* Returns 1 if user is using a stationary gun, else 0.
*/
native cs_get_user_stationary(index);
#include <amxmodx>
#include <cstrike>
public client_PreThink(id)
{
client_print(id, print_chat, "%i", cs_get_user_stationary(id))
}