IS_DUPLICITY_VERSION
Gets whether or not this is the CitizenFX server.
Signature
BOOL IS_DUPLICITY_VERSION();Returns BOOL — A boolean value.
Description
Gets whether or not this is the CitizenFX server.
Usage
local retval = IsDuplicityVersion()
-- always works, by hash
local retval = Citizen.InvokeNative(0xcf24c52e, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsDuplicityVersion();
// by hash
const retval = Citizen.invokeNative('0xcf24c52e', Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xcf24c52e);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.