- Client Exports
- Server Exports
All client exports run in a client-side script context and operate on the local player.
Checks whether the local player currently holds the UWU café job.SignatureReturns
Retrieves the full job details table for the local player.SignatureReturns
Checks whether the local player is currently clocked on duty.SignatureReturns
Checks whether the local player has the job and holds at least the specified grade level.SignatureParameters
Checks whether the local player is currently inside a configured script zone (e.g. the café premises).SignatureReturns
hasJob()
Checks whether the local player currently holds the UWU café job.Signatureboolean—trueif the player has the job,falseotherwise.
getJob()
Retrieves the full job details table for the local player.Signaturetable— The job data table if the player has the job.false— If the player does not have the job.
onDuty()
Checks whether the local player is currently clocked on duty.Signatureboolean—trueif the player is on duty,falseotherwise.
hasJobAndGrade(grade)
Checks whether the local player has the job and holds at least the specified grade level.SignatureReturns
boolean—trueif the player has the job and the specified grade,falseotherwise.
insideZone()
Checks whether the local player is currently inside a configured script zone (e.g. the café premises).Signatureboolean—trueif the player is inside a zone,falseotherwise.