networkIsFriendInSameTitle
NETWORK_IS_FRIEND_IN_SAME_TITLE0x2EA9A3BEDF3F17B8The GTA V native NETWORK_IS_FRIEND_IN_SAME_TITLE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkIsFriendInSameTitle, in JavaScript and in Lua.
networkIsFriendInSameTitle(friendName: string): booleannetworkIsFriendInSameTitle(friendName: string): booleanUsage
JavaScript
const result = networkIsFriendInSameTitle(friendName);Lua
local result = networkIsFriendInSameTitle(friendName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
friendName | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
In scripts R* calls 'networkGetFriendName' in this param.
Reference
- Namespace
- Network NETWORK
- In the game
BOOL NETWORK_IS_FRIEND_IN_SAME_TITLE(const char* friendName)- Hash
0x2EA9A3BEDF3F17B8