here is a code of my football game

function attach_ba()
{

while(Ball==NULL){wait(1);}
while(1)
{

set(Ball,SHADOW);
proc_mode = PROC_LATE;
Ball.material = mat_metal;
Ball.x = player.x + 50 * cos(player.pan);
Ball.y = player.y + 50 * sin(player.pan);
Ball.z = player.z-41;
Ball.pan=player.pan;

Ball.tilt+=5 ;

wait(1);
}
}

WFG Progger


asking is the best Way to get help laugh laugh laugh