_ARE_LAW_PEDS_ENABLED_FOR_TRAIN
Only used in trainrobbery_ambient R* Script
Hash
0xA22C46F16359471CRuntime name
AreLawPedsEnabledForTrainNamespaceLAW
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _ARE_LAW_PEDS_ENABLED_FOR_TRAIN();Returns BOOL
Description
Only used in trainrobbery_ambient R* Script
Usage
local retval = AreLawPedsEnabledForTrain()
-- always works, by hash
local retval = Citizen.InvokeNative(0xA22C46F16359471C, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = AreLawPedsEnabledForTrain();
// by hash
const retval = Citizen.invokeNative('0xA22C46F16359471C', Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xA22C46F16359471C);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.