Returns tilt of the ground on the given position in degrees, so you can use this value to rotate any item according to terrain.
См. определение в файле Global/game.c строка 1233
1234 {
1235 vector normal =
g_Game.SurfaceGetNormal(
x, z);
1237 angles[1] = angles[1]+270;
1238
1239
1240 if (angles == "0 540 0")
1241 angles = "0 0 0";
1242 return angles;
1243 }
proto vector VectorToAngles()
Converts vector to spherical coordinates with radius = 1.
Перекрестные ссылки g_Game, vector::VectorToAngles() и x.