Skip to content

Commit

Permalink
Update client.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold14567 authored Jan 31, 2023
1 parent ca9d95e commit 1d3eba3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Citizen.CreateThread(function()
end

while ESX.GetPlayerData().job == nil do
Citizen.Wait(10)
Citizen.Wait(20000)
end

PlayerData = ESX.GetPlayerData()
Expand Down Expand Up @@ -70,7 +70,7 @@ function chat(mePlayer, text)
if jeux < 505 then

TriggerEvent('chat:addMessage', {
template = '<div class="chat-message do" style="background-color: rgba(101, 164, 46,60%); color:#fff">' .. text .. '</div>',
template = '<div class="chat-message do" style="background-color: rgba(47, 161, 133,100%); color:#fff">' .. text .. '</div>',
multiline = true,
args = { text}
})
Expand All @@ -85,11 +85,11 @@ function DrawText3D(x,y,z, text)
local fov = (1 / GetGameplayCamFov()) * 350
local scale = scale * fov
if onScreen then
SetTextScale(0.50, 0.50)
SetTextFont(0)
SetTextScale(0.50, 0.50)
SetTextFont(0)
SetTextProportional(1)

SetTextColour(58, 146, 127, 255)
SetTextColour(45, 123, 99, 255)
BeginTextCommandDisplayText("STRING")
SetTextCentre(true)
AddTextComponentSubstringPlayerName(text)
Expand Down

0 comments on commit 1d3eba3

Please sign in to comment.