|
|
@ -2244,7 +2244,7 @@ function loadEvents() |
|
|
|
antiflood = os.clock() * 1000 |
|
|
|
antiflood = os.clock() * 1000 |
|
|
|
end |
|
|
|
end |
|
|
|
function sampev.onVehicleStreamIn(vehicleId, data) |
|
|
|
function sampev.onVehicleStreamIn(vehicleId, data) |
|
|
|
lua_thread.create(luChecker.vehicleStream, true, vehicleId, data) |
|
|
|
threads[#threads+1] = lua_thread.create(luChecker.vehicleStream, true, vehicleId, data) |
|
|
|
if inifiles ~= nil and not inifiles.Settings.Tuning and (data.type == 403 or data.type == 515) then |
|
|
|
if inifiles ~= nil and not inifiles.Settings.Tuning and (data.type == 403 or data.type == 515) then |
|
|
|
data.modSlots[8] = 0 |
|
|
|
data.modSlots[8] = 0 |
|
|
|
return {vehicleId, data} |
|
|
|
return {vehicleId, data} |
|
|
@ -2724,7 +2724,7 @@ function loadEvents() |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
function sampev.onCreate3DText(id, color, position, distance, testLOS, attachedPlayerId, attachedVehicleId, text) -- f3d1 |
|
|
|
function sampev.onCreate3DText(id, color, position, distance, testLOS, attachedPlayerId, attachedVehicleId, text) -- f3d1 |
|
|
|
lua_thread.create( |
|
|
|
threads[#threads+1] = lua_thread.create( |
|
|
|
function(id, color, position, distance, testLOS, attachedPlayerId, attachedVehicleId, textt) |
|
|
|
function(id, color, position, distance, testLOS, attachedPlayerId, attachedVehicleId, textt) |
|
|
|
for k, v in pairs(find_3dText) do |
|
|
|
for k, v in pairs(find_3dText) do |
|
|
|
|
|
|
|
|
|
|
@ -2816,7 +2816,7 @@ function loadEvents() |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
function sampev.onRemove3DTextLabel(Cid) -- f3d2 |
|
|
|
function sampev.onRemove3DTextLabel(Cid) -- f3d2 |
|
|
|
lua_thread.create(function(Cid) |
|
|
|
threads[#threads+1] = lua_thread.create(function(Cid) |
|
|
|
if id_3D_text == Cid then |
|
|
|
if id_3D_text == Cid then |
|
|
|
id_3D_text = msk_timestamp |
|
|
|
id_3D_text = msk_timestamp |
|
|
|
load_location = false |
|
|
|
load_location = false |
|
|
|