GET_HOST_ID
Signature
char* GET_HOST_ID();Returns char*
Usage
local retval = GetHostId()
-- always works, by hash
local retval = Citizen.InvokeNative(0x5f70f5a3, Citizen.ResultAsString())JavaScript and C#
const retval = GetHostId();
// by hash
const retval = Citizen.invokeNative('0x5f70f5a3', Citizen.returnResultAnyway(), Citizen.resultAsString());string retval = Function.Call<string>((Hash)0x5f70f5a3);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.