Hi,
leider bekomme ich immer noch Errors. (Undeclared)
Das ist in meinem Playercode. (chopper.mdl ist meine Axt)
action player_walk()
{
ent_create("chopper.mdl",nullvector,place_axt);
my.health=100;
player = me;
my.eflags |= FAT | NARROW;
set(my, FLAG2);
my.emask |= ENABLE_IMPACT;
set(my,INVISIBLE);
while(my.health>0)
...........
Das ist in meiner Axt.c. Oder soll ich das in meine main schreiben?
function place_axt()
{
proc_mode = PROC_LATE;
while(player != NULL)
{
vec_set(chopper.mdl.x,camera.x);
vec_to_angle(chopper.mdl.pan,camera.pan);
vec_set(chopper.mdl.pan,camera.pan);
wait(1);
}
}
Hast du eine Ahnung??
mfG TheShooter :-)