When using templates I have included the t_player.h, t_weapons.h.... in my script

In World Editor I have included a player model with "t_player" action attached. When I run the script W,A,S,D and mouse works fine but when I try to jump with SPACEBAR it crashes saying "script crash in t_player"