[RELEASE] PD Badge System | Different variations

@Vihtal

ESX.RegisterUsableItem('pdbadge', function(source)
    local src = source
    local xPlayer = ESX.GetPlayerFromId(src)
    if xPlayer.getJob().name == "police" then
    TriggerClientEvent('badge:openPD', source)
    end
end)

Have not tested it, but it should work. Instead you could check the job in the client side of the script.

1 Like

okay thanks ill try it out :smiley:

it works ?

nice work

Will be using this

does this work for QBCore framework?

was there a fix for lining photo up for 2k monitors

I also had this bug but u just need this emote menu its also for vrp here is the link dpEmotes 1.7 (390+ emotes) Walkingstyles, Keybinding, Dances, Expressions and Shared Emotes Hope its help :slight_smile:

Why are you bundling in materialize and two seperate fonts when youโ€™re not using materialize or roboto font?

Does this work for Qbcore?

two version for police badge, i don;t know what is good for rp, but all working.

local ped = PlayerPedId()
iCore.shared.functions.loadModel('prop_fib_badge')
local badgeProp = CreateObject(GetHashKey('prop_fib_badge'), GetEntityCoords(ped), true, true, true)
AttachEntityToEntity(badgeProp, ped, GetPedBoneIndex(ped, 28422), 0.065, 0.029, -0.035, 80.0, -1.90, 75.0, true, true, false, true, 1, true)
iCore.shared.functions.playAnim({ped = ped, dict = 'paper_1_rcm_alt1-9', anim = 'player_one_dual-9', flag = 49})
Citizen.Wait(3000)
ClearPedSecondaryTask(ped)
iCore.shared.functions.deleteEntity(badgeProp)
local ped = PlayerPedId()
iCore.shared.functions.loadModel('prop_fib_badge')
local badgeProp = CreateObject(GetHashKey('prop_fib_badge'), GetEntityCoords(ped), true, true, true)
SetEntityVisible(badgeProp, false, 0)
AttachEntityToEntity(badgeProp, ped, GetPedBoneIndex(ped, 28422), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1, 1, 0, 1, 0, 1)
iCore.shared.functions.playAnim({ped = ped, dict = 'missfbi_s4mop', anim = 'swipe_card', flag = 49})
Citizen.Wait(1000)
SetEntityVisible(badgeProp, true, 0)
Citizen.Wait(3000)
ClearPedSecondaryTask(ped)
iCore.shared.functions.deleteEntity(badgeProp)

where do i put it in?

is there any code that if the player has a specific job he will be able to use it

Selling outside of Tebex is not allowed under the Terms of Service.

Please remove any other stores.

Hello Im having an issue when I show badge person sees his face on badge but the name on badge is mine :slight_smile:

also the person in front of me cant see the badge prop

did you fix this problem? about faces not showing right ?

Iโ€™m not really supporting this script here anymore, I might re-release a better version soon though.

I hope so :heart:

its not synced its completely useless

1 Like