GET_NUM_PLAYER_IDENTIFIERS
Signature
int GET_NUM_PLAYER_IDENTIFIERS(char* playerSrc);Parameters
| Name | Type | Description |
|---|---|---|
playerSrc | char* | — |
Returns int
Usage
local retval = GetNumPlayerIdentifiers(playerSrc)
-- always works, by hash
local retval = Citizen.InvokeNative(0xff7f66ab, playerSrc, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetNumPlayerIdentifiers(playerSrc);
// by hash
const retval = Citizen.invokeNative('0xff7f66ab', playerSrc, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xff7f66ab, playerSrc);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.