sript don't work

Hi

I use this script ,

cont = g.getCurrentController()
own = cont.getOwner()
space = cont.getSensor(“alt”)
ctrl = cont.getSensor(“ctrl”)
obj_arm = cont.getSensor(“Rem”).getOwner()
own.suspendDynamics()

and it does not? why

what does it say in the console for a start.

I’m doing this

and I want to make a brake
alone, I can not script … This person can provide scripts for me? :slight_smile:
:slight_smile:

You need to define g, so before

cont = g.getCurrentController()
you need to type
g = GameLogic
that should work… I think.