mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 08:26:27 +02:00
Update cl_radar.lua
This commit is contained in:
@@ -1059,8 +1059,6 @@ function RADAR:UpdateVehiclePool()
|
|||||||
if ( DoesEntityExist( PLY.veh ) and PLY.inDriverSeat and PLY.vehClassValid and self:CanPerformMainTask() and self:IsEitherAntennaOn() ) then
|
if ( DoesEntityExist( PLY.veh ) and PLY.inDriverSeat and PLY.vehClassValid and self:CanPerformMainTask() and self:IsEitherAntennaOn() ) then
|
||||||
local vehs = self:GetAllVehicles()
|
local vehs = self:GetAllVehicles()
|
||||||
self:SetVehiclePool( vehs )
|
self:SetVehiclePool( vehs )
|
||||||
|
|
||||||
Citizen.Wait( 3000 )
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -1068,7 +1066,7 @@ Citizen.CreateThread( function()
|
|||||||
while ( true ) do
|
while ( true ) do
|
||||||
RADAR:UpdateVehiclePool()
|
RADAR:UpdateVehiclePool()
|
||||||
|
|
||||||
Citizen.Wait( 0 )
|
Citizen.Wait( 3000 )
|
||||||
end
|
end
|
||||||
end )
|
end )
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user