🛎️ Core Deskbell - Simple way to get attention in reception

core_deskbell

ABOUT

Simple script with a cool idea! You can setup deskbells on reception desks of service’s like police,ems,mechanic. When players use them every employee gets notified to meet them at the reception. Hope you enjoy :slight_smile:

DEPENDENCIES

ESX

PREVIEW

DOWNLOAD

Core_Deskbell.rar (2.5 KB)

OTHER RESOURCES
:heart: CORE EVIDENCE
:heart: CORE CARSHARING
:heart: CORE WEAPON

16 Likes

Awesome resource, will try it out. Thanks for the release!

1 Like

Another awesome release! Can not wait to try it out. This will be really helpful in RP.

1 Like

Hello add that this script has ESX for dependencies please thank you :slight_smile:

1 Like

Thank you for sharing and realising this one free, this will greatly improve RP!

1 Like

Very cool , just what i was searching for, i’ll definetly try it out, thanks!

1 Like

is it possible to change the distance at which it can be pressed? i can press the deskbell in a custom interior from the upper floor

ty

Sure, it’s on the last Citizen.CreateThread, line 66

I’m having issue with the height, so in the config.lua it has teh x,y,z and then 0.9
I changed that to 0.1 and has increased the height a little, but if I put 1.0 or anything higher it dissapeares

Is there a way to add an alert sound possibly, as where it shows up I forget someone is waiting

i use interact-sound for a sound

first you have to create and add a sound like “bell.ogg” to the interact-sound script

put the ogg file in \interact-sound\client\html\sounds
then add the file in the fxmanifest.lua

so next you add
TriggerServerEvent(‘InteractSound_SV:PlayWithinDistance’, 1.0, ‘bell’, 1.0)
in \core_deskbell\client\main.lua at line 76

Citizen.CreateThread(
    function()
        while true do
            Citizen.Wait(5)
            for __, v in ipairs(Config.Desks) do
                if GetDistanceBetweenCoords(GetEntityCoords(GetPlayerPed(-1)), v.coords) < 3 then
                    if alerted then
                        DrawText3D(v.coords[1], v.coords[2], v.coords[3], Config.Text["please_wait"] .. timeleft)
                    else
                        DrawText3D(v.coords[1], v.coords[2], v.coords[3], Config.Text["press_to_call"])
                        if IsControlJustReleased(0, 38) then
                            alerted = true
                            timeleft = 30
                            TriggerServerEvent("core_deskbell:alert_s", v.job)
                            TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 1.0, 'bell', 1.0)
                        end
                    end
                end
            end
        end
    end
)

and tada it makes BING if you hit the bell

a short video https://youtu.be/rYnz7oW6vj8

for me this works fine
if anyone has a better idea, let me know

How can I change the message come to gcphone?

can you share your sound because, i didn’t that sounds like yours

@Meloncrafter_yt

Is there a QB version of this script?

you can remake it into qb in few seconds

How i can add this to Core Dispatch?

Good!

Good free script!!

Awesome script!
Easy to configure, everything is working great, well done!