Skip to content

Commit

Permalink
Merge pull request Project-Sloth#41 from ARSSANTO/patch-1
Browse files Browse the repository at this point in the history
Radio typo
  • Loading branch information
MonkeyWhisper authored May 14, 2022
2 parents 7864cf3 + cb8781b commit 648f847
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 648f847

Please sign in to comment.