setTennisMoveNetworkSignalFloat
SET_TENNIS_MOVE_NETWORK_SIGNAL_FLOAT0x54F157E0336A3822The 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.
setTennisMoveNetworkSignalFloat(ped: Ped, p1: string, p2: number): voidsetTennisMoveNetworkSignalFloat(ped: Ped, p1: string, p2: number)Usage
JavaScript
setTennisMoveNetworkSignalFloat(ped, p1, p2);Lua
setTennisMoveNetworkSignalFloat(ped, p1, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | string | string | string |
p2 | float | number | number |
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