new scripts and sandy shores fire station

This commit is contained in:
KingMcDonalds
2025-01-23 18:00:31 -08:00
parent e7b4e946d1
commit 77bd5ac3b3
523 changed files with 6560 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
local playerCoords = GetEntityCoords(PlayerPedId())
for k, v in pairs(Config.PumpModels) do
local entity = GetClosestObjectOfType(playerCoords, 10.0, v, false, false, false)
SetEntityInvincible(entity, true)
FreezeEntityPosition(entity, true)
end
end
end)