Skip to content

Commit

Permalink
Fix incorrect trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Giana committed Feb 17, 2023
1 parent c0f8853 commit 2449d78
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 @@ -36,7 +36,7 @@ RegisterNetEvent('g-drugselling:server:sell', function(sellLocation)
end
local notifyPoliceRoll = math.random(1, 100)
if notifyPoliceRoll <= sellLocation.policeAlertChance then
TriggerServerEvent('police:server:policeAlert', Lang:t('info.police_alert'))
TriggerEvent('police:server:policeAlert', Lang:t('info.police_alert'))
end
end
else
Expand Down

0 comments on commit 2449d78

Please sign in to comment.