qb-target migration + DrawText suppression + time freeze
- qb-core/client/drawtext.lua: Global [E] prompt suppression (all DrawText functions are no-ops) - qs-housing/qb.lua: DrawText3D/DrawText3Ds/DrawTextBoard no-ops when UseTarget=true - qs-housing/qb-target.lua: Added BoxZone target on Real Estate NPC (executes /housebrowser) - qb-weathersync: Time freeze at 14:00 (BaseTime=14, FreezeTime=true)
This commit is contained in:
@@ -78,6 +78,7 @@ end
|
||||
-- Seteaza state bag pentru text bubble vizibil de toti jucatorii
|
||||
CreateThread(function()
|
||||
local wasOpen = false
|
||||
local closedAt = 0
|
||||
while true do
|
||||
Wait(500)
|
||||
local nuiFocused = IsNuiFocused()
|
||||
@@ -86,6 +87,14 @@ CreateThread(function()
|
||||
Utils.StopTabletAnim()
|
||||
LocalPlayer.state:set("browsingJobs", false, true)
|
||||
wasOpen = false
|
||||
closedAt = GetGameTimer()
|
||||
elseif wasOpen and nuiFocused and tabletProp and DoesEntityExist(tabletProp) then
|
||||
-- NUI e inca focusat DAR poate e alt NUI (ex: license dialog, inventar)
|
||||
-- Daca browsingJobs e false => alt NUI a preluat, cleanup prop
|
||||
if not LocalPlayer.state.browsingJobs then
|
||||
Utils.StopTabletAnim()
|
||||
wasOpen = false
|
||||
end
|
||||
elseif nuiFocused and tabletProp and DoesEntityExist(tabletProp) then
|
||||
if not wasOpen then
|
||||
LocalPlayer.state:set("bubbleText", "Se uita la locuri de munca...", true)
|
||||
|
||||
Reference in New Issue
Block a user