I search a solution since today at 1am to this stupid maniascript problem.

At midnight I just started the "Your first script" Tutorial. (When you click on the link you are scrolled to "function" section.) And In the "function" section we have this:
Code: Select all
SM::SpawnPlayer(_Player, 0, MapLandmarks_PlayerSpawn[SpawnId]);
Here I have two way for solve this.Incorrect arguments to call the function SpawnPlayer.
1) Generate the documentation and see what are the required argument.
2) See the source code (Melee_Tuto.Script.txt) at the end of page.
In the first way, I tried two online generated documentation here and here. The arguments on online documentation is different than the tutorial.

Ok, maybe the doc is not updated, so I manually generated the documentation (I follow the step here). Same arguments.

In the second way this line is little different:
Code: Select all
SM::SpawnPlayer(_Player, 0, BlockSpawns[SpawnId]);
Huh !Use of member BlockSpawns is deprecated: Use MapLandmarks_PlayerSpawn.

So, please tell me what can I do now
