share/hedgewars/Data/Scripts/Multiplayer/No_Jumping.lua
changeset 5325 261b79ba22b1
parent 4893 353781305c07
child 5571 434ec40070e0
equal deleted inserted replaced
5322:1bcc12a30d5d 5325:261b79ba22b1
     7 function onGameInit()
     7 function onGameInit()
     8     Goals = loc("Jumping is disabled")
     8     Goals = loc("Jumping is disabled")
     9 end
     9 end
    10 
    10 
    11 --function onGameStart()
    11 --function onGameStart()
    12 --	ShowMission(loc("NO JUMPING"), loc("- Jumping is disabled"), loc("Good luck out there!"), 0, 0)
    12 --	ShowMission(LOC_NOT("NO JUMPING"), LOC_NOT("- Jumping is disabled"), LOC_NOT("Good luck out there!"), 0, 0)
    13 --end
    13 --end
    14 
    14 
    15 function onNewTurn()
    15 function onNewTurn()
    16 	SetInputMask(band(0xFFFFFFFF, bnot(gmLJump + gmHJump)))
    16 	SetInputMask(band(0xFFFFFFFF, bnot(gmLJump + gmHJump)))
    17 end
    17 end