Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Script Shift Log - Log how long players have been working for.

harmlesspotato

Silver Elite
Joined
Feb 2, 2022
Messages
18
Reaction score
1,562
Points
296
Location
Bangkok

1668061269727.png

dc-shiftlog​

This was requested since "didn't work" properly. I present you a shift log resource which doesn't handout your Discord webhooks for free 🥳. Testing and issues are appreciated. But should work as intended.

How do I setup logs?​

As you might have noticed from the CreateLog function in server.lua there are some predefined jobs with each triggering their own qb-log trigger


You can add as many job specific triggers as you want and add them to your QBCore log recourse. At the time of writing you can find this inside of qb-smallresources/server/logs.lua. And add the following lines with the other webhooks you have setup.

Code:
    ['shiftlogPolice'] = '',
    ['shiftlogAmbulance'] = '',
    ['shiftlogRealestate'] = '',

Be aware! The above is case sensitive.

Download​



Original Source​

 
Last edited:
Top