Skip to content

Commit

Permalink
Update client.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-perry14 authored Apr 15, 2021
1 parent a8785fd commit 162c92e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ AddEventHandler("adminzone:inZone", function (coords, pass)
AddTextEntry("adminzonenotif", Config.notificationText)
SetTextEntry("adminzonenotif")
DrawText(Config.notificationLocx, Config.notificationLocy)
if Config.disabledViolence then
if Config.disableViolence then
if IsControlPressed(0, 106) then
ShowNotif(Config.disabledViolencetext)
end
Expand Down Expand Up @@ -121,4 +121,4 @@ end)
RegisterNetEvent('esx:playerLoaded')
AddEventHandler('esx:playerLoaded', function(xPlayer)
TriggerServerEvent('adminzone:ServerUpdateZone')
end)
end)

0 comments on commit 162c92e

Please sign in to comment.