I running some code in event.on_player_joined_game . but it seems not to work in single player.
note: autodownload (savefile)
event.on_player_joined_game not called in single player?
Re: event.on_player_joined_game not called in single player?
Because the player doesn't "join" the game in single player. He's created into the world. Joined is only called when joining a MP map. Once a map is loaded for MP it's forever marked as MP and treated differently when it comes to saving/loading.
If you want to get ahold of me I'm almost always on Discord.
Re: event.on_player_joined_game not called in single player?
Joined is called in SP, right after Player Created. However it will not be called on subsequent map loading unless converted to MPRseding91 wrote:Joined is only called when joining a MP map