{"hash":"0x6C31B06E91518269","ns":"ENTITY","name":"_PRELOAD_ENTITY_INTERIOR","slug":"_PRELOAD_ENTITY_INTERIOR","official":false,"named":true,"luaName":"PreloadEntityInterior","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"toggle","type":"BOOL"}],"summary":"Enables or disables preloading for an entity interior.","descriptions":[{"source":"alloc8or","format":"text","body":"Enables or disables preloading for an entity interior.\nUsed to force-load interiors for train carriages that the engine disabled due to distance-based optimization.\nThis does not affect entities whose interiors are already managed by the engine because they are close to the player."},{"source":"vorp","format":"text","body":"This native can enable interiors for train carriages that the game engine has disabled due to distance-based optimization."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_PRELOAD_ENTITY_INTERIOR","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_PRELOAD_ENTITY_INTERIOR.md","snippets":{"lua":"PreloadEntityInterior(entity, toggle)","luaInvoke":"Citizen.InvokeNative(0x6C31B06E91518269, entity, toggle)","js":"PreloadEntityInterior(entity, toggle);","jsInvoke":"Citizen.invokeNative('0x6C31B06E91518269', entity, toggle);","csharp":"Function.Call((Hash)0x6C31B06E91518269, entity, toggle);","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."]}}