mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:58:54 +00:00
fix(marker): move blip out of Zones Table
This commit is contained in:
+6
-6
@@ -760,15 +760,15 @@ end)
|
||||
-- Create blips
|
||||
Citizen.CreateThread(function()
|
||||
|
||||
local blip = AddBlipForCoord(Config.Zones.HospitalInteriorOutside1.Pos.x, Config.Zones.HospitalInteriorOutside1.Pos.y, Config.Zones.HospitalInteriorOutside1.Pos.z)
|
||||
local blip = AddBlipForCoord(Config.Blip.Pos.x, Config.Blip.Pos.y, Config.Blip.Pos.z)
|
||||
|
||||
SetBlipSprite (blip, Config.Zones.Blip.Sprite)
|
||||
SetBlipDisplay(blip, Config.Zones.Blip.Display)
|
||||
SetBlipScale (blip, Config.Zones.Blip.Scale)
|
||||
SetBlipColour (blip, Config.Zones.Blip.Colour)
|
||||
SetBlipSprite (blip, Config.Blip.Sprite)
|
||||
SetBlipDisplay(blip, Config.Blip.Display)
|
||||
SetBlipScale (blip, Config.Blip.Scale)
|
||||
SetBlipColour (blip, Config.Blip.Colour)
|
||||
SetBlipAsShortRange(blip, true)
|
||||
|
||||
BeginTextCommandSetBlipName("STRING")
|
||||
BeginTextCommandSetBlipName("STRING")
|
||||
AddTextComponentString(_U('hospital'))
|
||||
EndTextCommandSetBlipName(blip)
|
||||
|
||||
|
||||
+9
-9
@@ -14,18 +14,18 @@ Config.EarlyRespawnFine = true
|
||||
Config.EarlyRespawnFineAmount = 500
|
||||
Config.Locale = 'fr'
|
||||
|
||||
Config.Blip = {
|
||||
Pos = { x = 1153.364, y = -979.558, z = 30.711 },
|
||||
Sprite = 61,
|
||||
Display = 4,
|
||||
Scale = 1.2,
|
||||
Colour = 2,
|
||||
},
|
||||
|
||||
Config.Zones = {
|
||||
|
||||
Blip = {
|
||||
Pos = { x = 425.130, y = -979.558, z = 30.711 },
|
||||
Sprite = 61,
|
||||
Display = 4,
|
||||
Scale = 1.2,
|
||||
Colour = 2,
|
||||
},
|
||||
|
||||
HospitalInteriorEntering1 = {
|
||||
Pos = { x = 1151.447, y = -1529.491, z = 34.375 },
|
||||
Pos = { x = 1151.447, y = -1525.731, z = 33.843 },
|
||||
Size = { x = 1.5, y = 1.5, z = 1.0 },
|
||||
Type = 1
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user