WHAT'S NEW?
Seja Bem Vindo a Suprilaod. Vídeo Novo toda Terça e Sexta!
  • Em breve

    Cougar

  • Confira Já!

    Lions

  • Snowalker

    Snowalker

  • Howling

    Howling

  • Sunbathing

    Sunbathing

Sistema de Tirar: Tire, Engine, Tank Parts e Gasolina (Fuel) do Veiculo

- Oque Tem De Novo no Lançamento da V3 do que da V2?
- Você So Pode Retirar Gasolina do Veiculo se Tiver um Empty Gas Canister no Inventario
- Quando Você Tira um Pneu (Tire) Um Pneu Não Aparecê no Carro Smile
- No Gear Aparecê Slot do Veiculo
- Mostra Quantidade de Tire, Engine Tank Parts e Fuel Que Tem
- Bom Tem Muitas Coisas Que So Baixando Vocês Irão Ver



DOWNLOAD: http://www.mediafire.com/download/w8jfod3rxu2do99/menu_client.lua

- Como Instalar:
Substitua o menu_client que você baixou na supliload pela da sua dayz.

Adicione Isso no Final do Seu vehicle_spawns.lua:

-- Sem Roda
function setVehicleWheelsIn ( veh )
if isElement ( veh ) then
local parent = getElementData ( veh, "parent" )
if isElement ( parent ) then
local wheels = getElementData ( parent, "Tire_inVehicle" ) or 0
local tires = getVehicleAddonInfos ( getElementModel ( veh ) ) or 0 
if tires > 3 then
setElementFrozen ( veh, true )
if wheels == 0 then
setTimer ( function (car) setVehicleWheelStates ( car, 2, 2, 2, 2) end, 5000, 1, veh )
elseif wheels == 1 then
setTimer ( function (car) setVehicleWheelStates ( car, 0, 2, 2, 2) end, 5000, 1, veh )
elseif wheels == 2 then
setTimer ( function (car) setVehicleWheelStates ( car, 0, 0, 2, 2) end, 5000, 1, veh )
elseif wheels == 3 then
setTimer ( function (car) setVehicleWheelStates ( car, 0, 0, 0, 2) end, 5000, 1, veh )
else 
setTimer ( function (car) setVehicleWheelStates ( car, 0,0,0, 0); setElementFrozen ( car, false ) end, 5000, 1, veh )
end
end
end
end
end

function wheelsChanged(dataName,oldValue)
if getElementType(source) == "colshape" and dataName == "Tire_inVehicle" then 
setVehicleWheelsIn ( getElementData ( source, "parent" ) )
end
end
addEventHandler("onElementDataChange",getRootElement(),wheelsChanged)

-------------------------------sem roda fim-------------------------------

- Creditos:
ZJIOY_KoT
- S1L3NC3 (Por Traduzir)