atan
ATAN0xA9D1795CD5043663The GTA V native ATAN of the MISC namespace, as LS:MP client scripts call it: the global function atan, in JavaScript and in Lua.
atan(p0: number): numberatan(p0: number): numberUsage
JavaScript
const value = atan(p0);Lua
local value = atan(p0)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | float | number | number |
Returns
float JavaScript number, Lua numberReference
- Namespace
- Misc MISC
- In the game
float ATAN(float p0)- Hash
0xA9D1795CD5043663