{"hash":"0x4752F68EB7F2D280","ns":"LAW","name":"_SET_LAW_REGION","slug":"_SET_LAW_REGION","official":false,"named":true,"luaName":"SetLawRegion","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"player","type":"Player"},{"name":"lawRegionHash","type":"Hash"},{"name":"stateHash","type":"Hash"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"enum eLawRegion : Hash\n{\n\tLAW_DISPATCH_REGION_NONE = 0,\n\tLAW_REGION_AGUASDULCES = 0x2F573EBE,\n\tLAW_REGION_ANNESBURG = 0x68CAFD50,\n\tLAW_REGION_ARMADILLO = 0xF0B90756,\n\tLAW_REGION_BAYOU_NWA = 0x80966B1C,\n\tLAW_REGION_BEECHERS_HOPE = 0xE2544977,\n\tLAW_REGION_BIG_VALLEY = 0x3DF1559A,\n\tLAW_REGION_BLACKWATER = 0x60D4886D,\n\tLAW_REGION_BLACKWATER_MAINGAME = 0x66553576,\n\tLAW_REGION_BLUEGILL_MARSH = 0x1D6AED8E,\n\tLAW_REGION_BRAITHWAITE_MANOR = 0x3D71E7FF,\n\tLAW_REGION_BUTCHER_CREEK = 0x2B3E1822,\n\tLAW_REGION_CALIGA_HALL = 0xF3FE5080,\n\tLAW_REGION_CORNWALL = 0xCC4672FA,\n\tLAW_REGION_CUMBERLAND_FOREST = 0x81A78306,\n\tLAW_REGION_EMERALD_RANCH = 0x5C069DF3,\n\tLAW_REGION_FORT_WALLACE = 0x0AF25192,\n\tLAW_REGION_GREAT_PLAINS = 0xB20573FA,\n\tLAW_REGION_GREAT_PLAINS_MAINGAME = 0x9862FF7C,\n\tLAW_REGION_GRIZZLIES = 0xBB936031,\n\tLAW_REGION_GUAMA = 0x200DFF42,\n\tLAW_REGION_HEARTLANDS = 0xAD14DA65,\n\tLAW_REGION_LAGRAS = 0xC64808D3,\n\tLAW_REGION_MACFARLANES_RANCH = 0x396A7D5F,\n\tLAW_REGION_MANICATO = 0x039DB6BF,\n\tLAW_REGION_MANZANITA_POST = 0x895E580E,\n\tLAW_REGION_MANZANITA_POST_MAINGAME = 0x9BDD6A38,\n\tLAW_REGION_OCCUPIED_CARAVAN_CAMP = 0x7EBABB01,\n\tLAW_REGION_OLD_MAP_WILDERNESS = 0xCBB45950,\n\tLAW_REGION_OLD_MAP_WILDERNESS_MAINGAME = 0x9F839BE7,\n\tLAW_REGION_OUTLAW3 = 0x97A02FC1,\n\tLAW_REGION_PRONGHORN_RANCH = 0x398E4BFC,\n\tLAW_REGION_RHODES = 0x89222928,\n\tLAW_REGION_RHODES_LOCKDOWN = 0xB1181671,\n\tLAW_REGION_RIDGEWOOD_FARM = 0x635C3028,\n\tLAW_REGION_ROANOKE_RIDGE = 0x46386A9A,\n\tLAW_REGION_SAINT_DENIS = 0x5CF7C268,\n\tLAW_REGION_SAINT_DENIS_RURAL = 0x4FD5331A,\n\tLAW_REGION_SCARLETT_MEADOWS = 0x5FDD9717,\n\tLAW_REGION_SISIKA = 0x2B6BBA52,\n\tLAW_REGION_STRAWBERRY = 0xDD932620,\n\tLAW_REGION_TALL_TREES = 0xD939B758,\n\tLAW_REGION_TALL_TREES_MAINGAME = 0x084B17DF,\n\tLAW_REGION_THIEVES_LANDING = 0x3D0C2EB6,\n\tLAW_REGION_THIEVES_LANDING_MAINGAME = 0x61C450F3,\n\tLAW_REGION_TUMBLEWEED = 0x0EFAF8DC,\n\tLAW_REGION_VALENTINE = 0xA7A3F0C3,\n\tLAW_REGION_VALENTINE_LOCKDOWN = 0x123582FE,\n\tLAW_REGION_VAN_HORN = 0x619B528E,\n\tLAW_REGION_WAPITI = 0x7A976E02\n};"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/LAW/_SET_LAW_REGION","markdownUrl":"https://natives.borderlinerp.com/natives/LAW/_SET_LAW_REGION.md","snippets":{"lua":"SetLawRegion(player, lawRegionHash, stateHash)","luaInvoke":"Citizen.InvokeNative(0x4752F68EB7F2D280, player, lawRegionHash, stateHash)","js":"SetLawRegion(player, lawRegionHash, stateHash);","jsInvoke":"Citizen.invokeNative('0x4752F68EB7F2D280', player, lawRegionHash, stateHash);","csharp":"Function.Call((Hash)0x4752F68EB7F2D280, player, lawRegionHash, stateHash);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}