NetworkClientChecked by LS:MP

networkGetRespawnResultFlags

NETWORK_GET_RESPAWN_RESULT_FLAGS0x6C34F1208B8923FD

The GTA V native NETWORK_GET_RESPAWN_RESULT_FLAGS of the NETWORK namespace, as LS:MP client scripts call it: the global function networkGetRespawnResultFlags, in JavaScript and in Lua.

SignatureJavaScript
networkGetRespawnResultFlags(p0: number): number
SignatureLua
networkGetRespawnResultFlags(p0: integer): integer

Usage

JavaScript
const result = networkGetRespawnResultFlags(p0);
Lua
local result = networkGetRespawnResultFlags(p0)

Parameters

ParameterTypeJavaScriptLua
p0intnumberinteger

Returns

int JavaScript number, Lua integer

On LS:MP

ℹ
Checked by LS:MP

p0 must be between 0 and 127, and be a result of a finished, successful respawn search. Otherwise the call is ignored and returns 0: nothing reaches the game, and no error is raised.

Reference

Namespace
Network NETWORK
In the game
int NETWORK_GET_RESPAWN_RESULT_FLAGS(int p0)
Hash
0x6C34F1208B8923FD

Open in the interactive natives reference