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 wink

best greetings...



edit: oh its not the empty pointer error, the engine says "invalid arguments"


Last edited by Dj_Pint; 06/25/08 14:36.

if u want to see some stuff i made, go to youTube and search for djpint, not dj pint^^