hello! in my weaponaction i use this line:
vec_for_vertex(my.x, you, your.skill9);
when i shoot down the enemy with the gun, the gunaction gives the error: "emty pointer"
now i addet the following lines:
you = ptr_for_handle(my.skill5);//you is stored in skill5 in - the eventfunction of the gun
if(you != 0)
{
vec_for_vertex...
}
but the error still appears.....
can anyone pleaaaaaaase help me?? the game sucks if an error appears everytime you shoot a bot
best greetings...
edit: oh its not the empty pointer error, the engine says "invalid arguments"