Stevo Scripts
  • Stevo Scripts
  • stevo lib
    • ๐Ÿ“šstevo_lib
      • Functions
        • Client Functions
        • Server Functions
      • Businesses
        • Logs
        • Server Functions
      • Skills
        • Server Functions
  • PAID SCRIPTS
    • ๐Ÿ”ซstevo_claiming
      • Installation
      • Dependencies
    • ๐Ÿš—stevo_dmv
      • Installation
        • Items
      • Dependencies
      • Exports
    • ๐Ÿ‘ฎstevo_police
      • Installation
      • Exports
      • Dependencies
    • ๐Ÿ”“stevo_prison
      • Installation
        • Items
      • Dependencies
      • Config
      • Exports
    • ๐Ÿ’ฐstevo_supporter
    • ๐Ÿš stevo_vendors
      • Installation
      • Configuration
      • Dependencies
    • ๐Ÿขstevo_dealerships
      • Installation
      • Dependencies
      • Adding Vehicles
  • FREE SCRIPTS
    • ๐Ÿ“ฆstevo_cayocrates
      • Installation
      • Dependencies
    • ๐Ÿช“stevo_chopshop
      • Installation
      • Dependencies
    • ๐Ÿ›‚stevo_citizenship
      • Installation
      • Dependencies
    • ๐ŸŒฑstevo_drugsell
      • Installation
      • Dependencies
    • ๐Ÿ“‹stevo_feedback
      • Installation
      • Dependencies
    • ๐ŸŽstevo_fruitpicking
      • Installation
        • Items
      • Dependencies
    • ๐Ÿ‘ฎโ€โ™€๏ธstevo_policebadge
      • Installation
        • Items
      • Dependencies
    • ๐Ÿ› ๏ธstevo_portablecrafting
      • Installation
        • Items
      • Dependencies
    • ๐Ÿงผstevo_portablemoneywash
      • Installation
        • Items
      • Dependencies
    • ๐Ÿš”stevo_jobgarages
      • Installation
      • Dependencies
    • ๐Ÿ‘ปstevo_trickortreat
      • Installation
        • Items
      • Dependencies
    • ๐Ÿ‡stevo_advancedvineyard
      • Installation
        • Items
      • Dependencies
    • ๐Ÿšจstevo_reports
      • Installation
      • Dependencies
    • ๐Ÿงนstevo_communityservice
      • Installation
      • Dependencies
Powered by GitBook
On this page
  • Notify
  • IsDead
  • GetPlayerGroups
  1. stevo lib
  2. stevo_lib
  3. Functions

Client Functions

Notify

Triggers the configured notification Example Usage:

stevo_lib.Notify('Today is beautiful!', 'info', 3000)

IsDead

Returns the players death state. Example Usage:

local IsDead = stevo_lib.IsDead()

if not IsDead then 
    print('You are alive!')
end

GetPlayerGroups

Returns the players job/gang roles Example Usage:

local job, gang = stevo_lib.GetPlayerGroups()
local ped = PlayerPedId()
local job_auth = false

    
for _, group in pairs(Config.job_names) do    
   if group == job then 
      job_auth = true
   end
end

if not job_auth then 
   stevo_lib.Notify('You are not police!', 'error', 3000)
end
PreviousFunctionsNextServer Functions

Last updated 8 months ago

๐Ÿ“š