What would be the best way to check if a logged in user has a character already?

Posted by RisildarGames
I have disallowed guests, but basically I want it so after they login it loads a room that checks if they have a character that already exists, I guess simply checking if they have a playerINI file already would do the trick. If so, load it, if not, divert them to the create a character screen, but is there a function to check if an actual playerINI file exists for the player?

Replies (1)

Last message on 16 Apr 2017

Size43 (Administrator) on 16 Apr 2017, 16:13:34
You can check if keys in the PlayerINI exist using gms_ini_player_exists.