Skip to content

Commit

Permalink
Radio typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ARSSANTO authored May 10, 2022
1 parent 7864cf3 commit cb8781b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ RegisterNetEvent('mdt:server:setRadio', function(cid, newRadio)
TriggerClientEvent("QBCore:Notify", src, 'You can only change your radio!', 'error')
return
else
local radio = Player.Functions.GetItemByName("phone")
local radio = Player.Functions.GetItemByName("radio")
if radio ~= nil then
TriggerClientEvent('mdt:client:setRadio', src, newRadio)
else
Expand Down

0 comments on commit cb8781b

Please sign in to comment.