life is cheap, death is free!
-
Автор темы
- #1
JavaScript:
function isinverted(){
fakeyaw = Local.GetRealYaw();
view_angles = Local.GetViewAngles();
var view_yaw = view_angles[1] - 180;
if (fakeyaw - view_yaw >= 0){
return true;
} else if (fakeyaw - view_yaw <= 0){
return false;
}
}