Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion 03-natives/01-what-are-natives.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ When the native signature says `Hash modelHash`, pass a hash. When it says `char
---

## The Request / Has / Use Pattern
GTA V has a massive open world and cannot hold every vehicle, weapon, and animation in RAM at the same time. Instead, assets exist on the disk and stream into memory strictly on demand. If you tell the engine to spawn a vehicle before its 3D model has fully loaded into RAM, the script will error out.

Models, anims, particle effects, audio banks - all stream into memory on demand. The pattern is always:
The pattern is always:

```lua
local model = `adder` -- compute hash at load time
Expand Down