[C++ mod_sa] Reconnect Fix 0.3.DL

sa_masterPL

Well-Known Member
Joined
Mar 21, 2020
Messages
135
Likes
40
Points
28
Location
Poland
Website
dphome.cba.pl
#1
samp.h
Code:
enum Gamestate
{
    GAMESTATE_NONE = 0,
    GAMESTATE_WAIT_CONNECT = 1,
    GAMESTATE_AWAIT_JOIN = 2,
    GAMESTATE_CONNECTED = 3,
    GAMESTATE_RESTARTING = 4,
    GAMESTATE_DISCONNECTED = 5
};
 

_Safa

Well-Known Member
Section Moderator
Joined
Sep 22, 2019
Messages
278
Likes
92
Points
58
Location
UGBASE
#2
I really don't understand what this "fix" would be, maybe im just too tired.
This is the actual struct / state-values of 0.3DL:

C++:
enum Gamestate
{
    GAMESTATE_WAIT_CONNECT = 9,
    GAMESTATE_CONNECTING = 13,
    GAMESTATE_AWAIT_JOIN = 15,
    GAMESTATE_CONNECTED = 14,
    GAMESTATE_RESTARTING = 18
};
They didn't change since 0.3.7 iirc.
 
Top