CityRP Documentation Repository

cityrp_dryingrack

Drying rack (client): hang visuals + batch progress HUD.

ENT

7 functions · 2 tables · 3 fields Source ☍

Functions

ClientENT:ClearHangVisuals()Source ☍

Removes all clientside hang props.

ServerENT:CollectForPlayer(ply) → booleanSource ☍

Pulls finished (or early/late) dried bud back into inventory.

Parameters

Returns

  1. boolean
ServerENT:DepositFromPlayer(ply) → booleanSource ☍

Hangs wet bud from the player's inventory onto the rack. Applies wet-inventory rot at hang time (no per-tick inventory scan).

Parameters

Returns

  1. boolean
ClientENT:GetClientBatches() → table[]Source ☍

Parses SlotSync into batch tables for HUD / 3D2D.

Returns

  1. table[]{ quality, amount, start, progress, status }
ServerENT:GetFreeCapacity() → numberSource ☍

Returns free capacity in wet units.

Returns

  1. number
ClientENT:RefreshHangVisuals()Source ☍

Spawns / refreshes hanging weed_drying clientside models from SlotSync.

ServerENT:SyncStoredCount()Source ☍

Recounts networked stored unit count and syncs per-batch progress for clients.

Tables

ClientENT._HangPropsSource ☍
ServerENT._SlotsSource ☍

each { quality=number, amount=number, start=number, ready=number }

Fields

ClientENT._HangKeySource ☍
ServerENT.damageSource ☍
SharedENT.StubLabelSource ☍