Disable reconnect.

zangief

New member
Joined
Dec 29, 2017
Messages
4
Reaction score
0
Is there a script to disable the auto-reconnect samp feature? So if I dc or server resets it will not try to reestablish a connection.
 

davidel

Well-known member
Joined
Jan 17, 2020
Messages
207
Reaction score
7
Location
Germania
if your client is restarting you can try to set the gamestate to none or disconnected

Code:
const

GAMESTATE_NONE = 0
GAMESTATE_DISCONNECTED = 6

end

0B27: samp set_gamestate GAMESTATE_NONE
or
0B27: samp set_gamestate GAMESTATE_DISCONNECTED
 
Top