{"hash":"0x42404D57D621601A","ns":"VEHICLE","name":"_RECOVER_DRAFT_VEHICLE_FALLING_LOG","slug":"_RECOVER_DRAFT_VEHICLE_FALLING_LOG","official":false,"named":true,"luaName":"RecoverDraftVehicleFallingLog","game":"rdr3","apiset":"client","returnType":"Entity","params":[{"name":"vehicle","type":"Vehicle"}],"summary":"Returns the log prop entity that is currently detaching/falling from a draft (log) wagon.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the log prop entity that is currently detaching/falling from a draft (log) wagon. Returns 0 if no log is in the falling phase.\nR* scripts call this repeatedly to fetch each fallen piece, then apply forces to it.\nVideo demo: https://imgur.com/a/5JEeOij"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_RECOVER_DRAFT_VEHICLE_FALLING_LOG","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_RECOVER_DRAFT_VEHICLE_FALLING_LOG.md","snippets":{"lua":"local retval = RecoverDraftVehicleFallingLog(vehicle)","luaInvoke":"local retval = Citizen.InvokeNative(0x42404D57D621601A, vehicle, Citizen.ResultAsInteger())","js":"const retval = RecoverDraftVehicleFallingLog(vehicle);","jsInvoke":"const retval = Citizen.invokeNative('0x42404D57D621601A', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x42404D57D621601A, vehicle);","notes":["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."]}}