File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ AddEventHandler('onResourceStart', function(resource)
9
9
if GetCurrentResourceName () == resource then
10
10
if Shared .Core == ' qb' and LocalPlayer .state .isLoggedIn then
11
11
Radio :QBInit ()
12
- elseif Shared .Core == ' qbox ' and LocalPlayer .state .isLoggedIn then
12
+ elseif Shared .Core == ' qbx ' and LocalPlayer .state .isLoggedIn then
13
13
Radio :QboxInit ()
14
14
elseif Shared .Core == ' esx' and ESX .IsPlayerLoaded () then
15
15
Radio :ESXInit ()
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ RegisterNetEvent('mm_radio:client:removedata', function()
61
61
}
62
62
if Shared .Core == ' qb' and LocalPlayer .state .isLoggedIn then
63
63
Radio :QBInit ()
64
- elseif Shared .Core == ' qbox ' and LocalPlayer .state .isLoggedIn then
64
+ elseif Shared .Core == ' qbx ' and LocalPlayer .state .isLoggedIn then
65
65
Radio :QboxInit ()
66
66
elseif Shared .Core == ' esx' and ESX .IsPlayerLoaded () then
67
67
Radio :ESXInit ()
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if Shared.Core == "qb" then
10
10
QBCore .Functions .CreateUseableItem (" radio" , function (source )
11
11
TriggerClientEvent (' mm_radio:client:use' , source )
12
12
end )
13
- elseif Shared .Core == ' qbox ' then
13
+ elseif Shared .Core == ' qbx ' then
14
14
if not Shared .Ready then return end
15
15
16
16
exports .qbx_core :CreateUseableItem (" radio" , function (source , item )
@@ -32,7 +32,7 @@ function GetUserName(source)
32
32
if Player then
33
33
return Player .PlayerData .charinfo .firstname .. ' ' .. Player .PlayerData .charinfo .lastname
34
34
end
35
- elseif Shared .Core == ' qbox ' then
35
+ elseif Shared .Core == ' qbx ' then
36
36
local Player = exports .qbx_core :GetPlayer (source )
37
37
if Player then
38
38
return Player .PlayerData .charinfo .firstname .. ' ' .. Player .PlayerData .charinfo .lastname
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ Shared.UseCommand = false -- set to true to use command to open radio (item requ
5
5
6
6
if GetResourceState (' qb-core' ) == ' started' then -- change your core script
7
7
Shared .Core = ' qb' -- dont touch this
8
- elseif GetResourceState (' qbox_core ' ) == ' started' then -- change your core script
9
- Shared .Core = ' qbox ' -- dont touch this
8
+ elseif GetResourceState (' qbx_core ' ) == ' started' then -- change your core script
9
+ Shared .Core = ' qbx ' -- dont touch this
10
10
elseif GetResourceState (' es_extended' ) == ' started' then -- change your core script
11
11
Shared .Core = ' esx' -- dont touch this
12
12
else
You can’t perform that action at this time.
0 commit comments