i am not sure, but i think if you call a function with on_space, the my pointer is zero and so you become this error.
Try to use a entity pointer:

Code:
ENTITY* test_ent;

action move_me()
{
   test_ent = me;
   ...
}

function kick()
{
   ...
   phent_addvelcentral(test_ent, vKick);
}



For your second problem use 3 different entity pointers for each ent. You can use also a array:
ENTITY* test_ent[3];

edit: if move_me is the player, there is already a entity pointer:
player = me;

edit 2: EvilSobs solution is better wink

Last edited by Widi; 05/22/10 13:18.