{"hash":"0x288CBB414C3C2FBB","ns":"VEHICLE","name":"_GET_NUM_DRAFT_VEHICLE_LOGS","slug":"_GET_NUM_DRAFT_VEHICLE_LOGS","official":false,"named":true,"luaName":"GetNumDraftVehicleLogs","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"vehicle","type":"Vehicle"}],"summary":"Return the number of logs on a draft vehicle.","descriptions":[{"source":"alloc8or","format":"text","body":"Return the number of logs on a draft vehicle.\nVideo demo: https://imgur.com/a/5JEeOij"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_NUM_DRAFT_VEHICLE_LOGS","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_NUM_DRAFT_VEHICLE_LOGS.md","snippets":{"lua":"local retval = GetNumDraftVehicleLogs(vehicle)","luaInvoke":"local retval = Citizen.InvokeNative(0x288CBB414C3C2FBB, vehicle, Citizen.ResultAsInteger())","js":"const retval = GetNumDraftVehicleLogs(vehicle);","jsInvoke":"const retval = Citizen.invokeNative('0x288CBB414C3C2FBB', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x288CBB414C3C2FBB, 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."]}}