Возвращает текущий gamestate.
0B4F: samp 0@ = get_gamestate
Параметр | Тип | Описание |
---|---|---|
0@ | int | gamestate |
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\