Hmmm, it says error:

"Can not convert `struct VECTOR` to `Fixed`
player_speed = clamp(player_speed, -100, 100);

"Can not convert `Fixed` to `struct VECTOR`
player_speed = clamp(player_speed, -100, 100);


My, player_speed is a vector, maybe this is the problem ?