Auto-translated
You have version 3.0 of the game, and this function doesn't work in that version. Also, the array seems suspicious; I think there's a mod in the map that adds some types of lighting.
I do indeed have version 3.0 of the game. And is there really no way to make SetAmbientLight work?