Streamed in-hand tablet props for sd-tablet, one model per frame colour.
Streams the sd_tablet_<colour> drawables (black, blue, green, orange, pink, purple, red, yellow) that sd-tablet attaches to the player's hand while the tablet is out. The prop colour matches the tablet item the player used.
ensure sd-tablet-props
ensure sd-tabletNo configuration. sd-tablet resolves the prop names automatically; without this resource the tablet still works, players just hold nothing visible.
sd_tablet_black sd_tablet_blue sd_tablet_green sd_tablet_orange
sd_tablet_pink sd_tablet_purple sd_tablet_red sd_tablet_yellow
Textures are embedded in each .ydr, so there are no .ytd files to manage. Each drawable is 8,070 triangles at real-world scale (177.7 x 249.9 x 8.9 mm), with a METAL_SOLID_SMALL box bound embedded in the drawable and an emissive screen. Archetypes are declared in stream/sd_tablet.ytyp at lodDist 100.
These are built to the same convention as the base-game tablet: origin at the geometry centre, local X across the screen, Y through it, Z up it.
prop_cs_tablet min(-0.0899, -0.0055, -0.1201) max(0.0899, 0.0055, 0.1201)
sd_tablet_<col> min(-0.0888, -0.0044, -0.1249) max(0.0888, 0.0044, 0.1249)
So they weld where prop_cs_tablet welds. Any clip authored for the vanilla tablet fits these at a zero offset and rotation, with no per-script transform to work out:
AttachEntityToEntity(obj, ped, GetPedBoneIndex(ped, 60309),
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, true, true, false, true, 1, true)Tablet models by Samuels Development.