Skip to content

Game settings

KissLick edited this page Jul 13, 2016 · 14 revisions

I am gonna make this short... Just use Menu stocks include like other TeamGames modules.

Q: Why? Why not just use global variables?
A: You need to count with possibility that more than one player will try to set and start your game at the moment. So you have to handle game settings player by player and for that the best possible choice is Menu stocks include.

Also you should always pass the game settings string to native TG_StartGame, so players can see the settings in chat.