Sonic Network Land
Don't Forget - DEMO
Duke Nukem: Atomic Meltdown
The Tower Defense Factory
( n )
Returns the nth session_id.
Last message on 16 Sep 2016
15 Sep 2016, 19:54:55
Sorry if you have answered this in the past yet but, the "n" value start at 0, or 1? For example in gms_session_id(n) the first session is known as 0 or 1?
16 Sep 2016, 09:29:52
The n value starts at zero, just like an array. I should've named it "index" instead of "n".
16 Sep 2016, 13:16:21
Thank you very much for your fast answer.
In addition, if you use gms_sesión_id(0) we can say you retrieve the "main sesion" id in any case?? Or it can be a secondary session created later?
16 Sep 2016, 13:23:59
Sessions aren't sorted in any particular order. If you want to get the "main" session, you should check its type. The session with type '0' is the default session.
30 Apr 2016, 23:05:40
is it possible to retrieve session data, for example, getting the name of a session?
11 May 2016, 10:19:30
The sessions don't have any data associated with them, other than the session type. You could use a GameINI to store additional session information if you need to.
Your ad here, right now: $0
© 2011 - 2018 GameMaker Server, except user content |
Deze pagina in het Nederlands