Usage: gms_logout ( )


Will log the user out, without disconnecting from the server.

Replies (10)

Last message on 12 Nov 2016

TerrestrialArtsStudio8829 on 10 Nov 2016, 16:54:38
I got problem with gms_logout, it gives me a red error line in code its like its not right. here you can see image. you will see gms_logout but down under shows m3d_projection_draw(id,near,far); any fix?
Size43 (Administrator) on 11 Nov 2016, 12:08:32
Seems like a bug in GM:Studio. For some reason it thinks you've typed m3d_projection_draw. Have you tried restarting your PC?
TerrestrialArtsStudio8829 on 12 Nov 2016, 21:23:02
thx, yea that was problem. :D
Nefault1st on 1 May 2015, 02:40:30
I'm not sure why but every time I use this logout function (not while ending the game) with others still online, I receive this error:

action number 1
of Begin Step Event
for object __newobject1827:

The server is sending corrupt data: The player that's disconnecting is not connected. (id = ??????, ?)

Note: I have everyone logging in as a guest.
Size43 (Administrator) on 2 May 2015, 12:47:26
Please send me a mail at, so I can send you a copy of the 1.8.5 update I'm working on. It may fix this error.
Nefault1st on 13 May 2015, 03:35:59
Did you receive my email?
Size43 (Administrator) on 14 May 2015, 17:47:48
I haven't received anything. I've also checked my spam folder, but unfortunately I can't find anything from you.

The 1.8.5 update has been released, but it seems to have a few problems. I'm fixing those right now.
Nefault1st on 16 May 2015, 18:10:08
That's strange, well I'll try using my other email address. I still have some questions to ask, and if you still want me to test out anything, just send it to that email address.
tifongames on 23 Mar 2015, 12:38:30
Hello Size43, when I run logout, other players still see the same number of players before logout.

thanks Size43
Size43 (Administrator) on 23 Mar 2015, 19:44:14
On what export is this? Do you see the "x has logged out" message at all?