show and hide map?

I have issues on showing and hiding the map when the player wants...i used the JS.ShowGrid (0) and JS.ShowGrid (1) scripts but it always shows....what's the problem and how can i fix it?

i want the map to hide always, and whenever the players uses the command "show map" the map pop outs.

Thank you again


JS.ShowGrid sets the height of the map. Setting it to zero hides it, but setting it to 1 will turn it on, 1 pixel high! Try JS.ShowGrid (300)

This topic is now closed. Topics are closed after 60 days of inactivity.