Hello everyone, I'm pretty new to Game studio and I downloaded the FPS shooter tutorial that I found somewhere I followed the code exactly as far as I can see, but when I build the level and run it, the entity won't move. Could anyone take a quick look at the code and see if anything is wrong?

Code:
// MyFPS.wdl
var video_mode=7;
var video_depth=16;
var move_vec[3]=0,0,0;
function main()
{
level_load ("MyFPS.wmb");
wait(2);
}
action player_move
{
player = me;
wait(1);
while(me!=NULL)
{
move_vec[0]=(key_cuu-key_cud)*3;
ent_move(move_vec,NULLVECTOR);
player.pan+=(key_cul-key_cur)*4;
wait(1);
}
}