share/hedgewars/Data/Scripts/Multiplayer/No_Jumping.lua
changeset 4662 63aafc9c2a81
child 4893 353781305c07
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Scripts/Multiplayer/No_Jumping.lua	Fri Dec 24 00:53:50 2010 -0500
@@ -0,0 +1,16 @@
+--------------------------------
+-- NO JUMPING
+--------------------------------
+
+loadfile(GetDataPath() .. "Scripts/Locale.lua")()
+
+function onGameStart()
+	ShowMission(loc("NO JUMPING"), loc("- Jumping is disabled"), loc("Good luck out there!"), 0, 0)
+end
+
+function onNewTurn()
+	SetInputMask(band(0xFFFFFFFF, bnot(gmLJump + gmHJump)))
+end
+
+
+