4 Commits
Author SHA1 Message Date
Jim Shield 4e565268cd Version Bump
`2.0` - `2.0.01`
2025-05-06 10:35:00 +01:00
Jim Shield 9e8dcc39f9 Remove notify types
I was hoping this wouldn't affect notification systems but it did

I left in code for a automated notification type, this was used on a server I worked on, forgot it was there and had a couple reports of it breaking qb-core nui
2025-05-05 19:48:11 +01:00
Jim Shield c2d902c813 fix discord bot yml 2025-05-01 13:38:26 +01:00
Jim Shield 4d83c8c612 add gitbot yml 2025-05-01 00:19:02 +01:00
5 changed files with 22 additions and 19 deletions
+17
View File
@@ -0,0 +1,17 @@
name: Discord Commit Notifier
on:
push:
branches:
- '*' # triggers on all branches
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Discord Commits
uses: Sniddl/discord-commits@v1.6
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
template: "avatar-with-link"
include-extras: true
+2 -16
View File
@@ -135,21 +135,7 @@ RegisterNetEvent(getScript()..':Consume', function(itemName)
P7, P8, P9, P10, P11, P12 = table.unpack(emote.AnimationOptions.SecondPropPlacement)
end
end
if type == "drink" or type == "alcohol" then
string = "Drinking "
notifType = "drinking"
elseif type == "food" then
string = "Eating "
notifType = "eating"
elseif type == "smoke" then
string = "Smoking "
notifType = "smoking"
elseif type == "pack" then
string = "Opening "
notifType = "package"
else string = "Using "
notifType = "using"
end
if consuming then
cancelled = true
debugPrint("^5Debug^7: ^3Consume^7: ^2Event already started^7, ^1Cancelling^7.")
@@ -197,7 +183,7 @@ RegisterNetEvent(getScript()..':Consume', function(itemName)
end
end)
else
triggerNotify(nil, string..Items[itemName].label.."..", notifType)
triggerNotify(nil, string..Items[itemName].label.."..", "success")
end
consuming = true
+1 -1
View File
@@ -1,6 +1,6 @@
Config = {
System = {
Debug = true,
Debug = false,
EventDebug = false,
Menu = "qb", -- "qb", "ox"
+1 -1
View File
@@ -1,6 +1,6 @@
name "Jim-Consumables"
author "Jimathy"
version "2.0"
version "2.0.01"
description "Consumables Script"
fx_version "cerulean"
game "gta5"
+1 -1
View File
@@ -1 +1 @@
2.0
2.0.01