cityrp_weedpackager
Packaging station (server): deposits materials onto the table for a fill session.
- ServerENT:BeginOrResumeSession(ply) → booleanSource ☍
-
Deposits materials from the player onto the table and opens/resumes UI.
Parameters
- plyPlayer
Returns
- boolean
- ServerENT:ClearDecor()Source ☍
-
Removes tabletop session props.
- ServerENT:ClearSession()Source ☍
-
Clears session after product is taken; does not refund (caller handled inventory).
- ServerENT:FillOne(ply) → booleanSource ☍
-
Fills one bag on the table (server-authoritative).
Parameters
- plyPlayer
Returns
- boolean
- ServerENT:FinishForPlayer(ply) → booleanSource ☍
-
Finishes the session: grant bagged weed, refund unfilled materials.
Parameters
- plyPlayer
Returns
- boolean
- ServerENT:RefreshDecor()Source ☍
-
Spawns / refreshes the tabletop prop layout for an active session.
- ServerENT:RefundRemainder(ply)Source ☍
-
Returns leftover dried bud + baggies to a player (or drops if invalid).
Parameters
- plyPlayer?
- ServerENT:RefundSessionToWorld()Source ☍
-
When the station is destroyed mid-session, try to refund to the last operator.
- ServerENT:ReleaseOperator(ply)Source ☍
-
Detaches the current operator without clearing table materials (death / UI close).
Parameters
- plyPlayer
- ServerENT:SyncSessionVars()Source ☍
-
Syncs networked session HUD fields from
_Session.
- ServerENT._DecorSource ☍
- ServerENT._SessionSource ☍