MiscClient

acos

ACOS0x1D08B970013C34B6

The GTA V native ACOS of the MISC namespace, as LS:MP client scripts call it: the global function acos, in JavaScript and in Lua.

SignatureJavaScript
acos(p0: number): number
SignatureLua
acos(p0: number): number

Usage

JavaScript
const value = acos(p0);
Lua
local value = acos(p0)

Parameters

ParameterTypeJavaScriptLua
p0floatnumbernumber

Returns

float JavaScript number, Lua number

Reference

Namespace
Misc MISC
In the game
float ACOS(float p0)
Hash
0x1D08B970013C34B6

Open in the interactive natives reference