MiscClient

tan

TAN0x632106CC96E82E91

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

SignatureJavaScript
tan(p0: number): number
SignatureLua
tan(p0: number): number

Usage

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

Parameters

ParameterTypeJavaScriptLua
p0floatnumbernumber

Returns

float JavaScript number, Lua number

Reference

Namespace
Misc MISC
In the game
float TAN(float p0)
Hash
0x632106CC96E82E91

Open in the interactive natives reference