Опкод 0B4F
Описание
Возвращает текущий gamestate.
Использование
0B4F: samp 0@ = get_gamestate
Входящие параметры
Отсутствуют
Исходящие значения
0@ [int] - gamestate
SASCM
0B4F=1,samp %1d% = get_gamestate
Дополнительная информация
GAMESTATE_NONE = 0
GAMESTATE_WAIT_CONNECT = 1
GAMESTATE_AWAIT_JOIN = 2
GAMESTATE_CONNECTED = 3
GAMESTATE_RESTARTING = 4
GAMESTATE_DISCONNECTED = 5
GAMESTATE_NONE = 0
GAMESTATE_WAIT_CONNECT = 1
GAMESTATE_AWAIT_JOIN = 2
GAMESTATE_CONNECTED = 3
GAMESTATE_RESTARTING = 4
GAMESTATE_DISCONNECTED = 5