MiscClient

setTennisMoveNetworkSignalFloat

SET_TENNIS_MOVE_NETWORK_SIGNAL_FLOAT0x54F157E0336A3822

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

SignatureJavaScript
setTennisMoveNetworkSignalFloat(ped: Ped, p1: string, p2: number): void
SignatureLua
setTennisMoveNetworkSignalFloat(ped: Ped, p1: string, p2: number)

Usage

JavaScript
setTennisMoveNetworkSignalFloat(ped, p1, p2);
Lua
setTennisMoveNetworkSignalFloat(ped, p1, p2)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
p1stringstringstring
p2floatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

From the scripts:

setTennisMoveNetworkSignalFloat(sub_aa49(a_0), "ForcedStopDirection", v_E);

Related to tennis mode.

Reference

Namespace
Misc MISC
In the game
void SET_TENNIS_MOVE_NETWORK_SIGNAL_FLOAT(Ped ped, const char* p1, float p2)
Hash
0x54F157E0336A3822

Open in the interactive natives reference