new scripts and sandy shores fire station
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user