Jump to content

KaiqueMachareth

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by KaiqueMachareth

  1. Oi, já procurei videos no youtube e nada, como eu mudo o dinheiro inicial ao cadastrar? atualmente alguem que se cadastra ganha 9K mas queria mudar isso. OBS:Nenhuma GM ativa
  2. Na verdade deu na mesma, mesmo se eu continuar dentro do carro, capotando ele explode ;(
  3. Oi, como faço pra um carro não explodir ao capotar? to usando um script da internet, ele funciona com batidas, tiros, mas de vez em quando buga com capotamento e explode do mesmo jeito, script embaixo: Client: function veiculo() if (getElementHealth(source) < 300) then setElementHealth(source, 300) setVehicleDamageProof(source, false) setVehicleEngineState(source, false) cancelEvent() end end addEventHandler("onClientVehicleDamage", getRootElement(), veiculo) addEventHandler("onClientVehicleExplode", getRootElement(), function() setVehicleDamageProof(source, false) setVehicleEngineState(source, false) setElementHealth(source, 300) end) Server: --[[function vehicleHPVerify (loss) local thePlayer = getVehicleController (source) if (getElementHealth (source) < 300) then setVehicleDamageProof (source, true) setVehicleEngineState (source, false) setElementHealth( vehicle, 300 ) if (thePlayer) then outputChatBox ("Seu veículo quebrou o motor. Chame um mecânico.", thePlayer) end end end addEventHandler ("onVehicleDamage", root, vehicleHPVerify) function vehicleEngineDisable (thePlayer, seat, jacked) if (getElementHealth (source) < 300) then if (seat == 0) then setVehicleDamageProof (source, true) setVehicleEngineState (source, false) setElementHealth( vehicle, 300 ) end else setVehicleDamageProof (source, false) end end addEventHandler ("onVehicleDamage", root, vehicleEngineDisable) function antiVehicleEngine (cmd) if (cmd == "motor") then local theVehicle = getPlayerOccupiedVehicle (source) if (theVehicle) then if (getPedOccupiedVehicleSeat (source) == 0) then if (getElementHealth (theVehicle) < 300) then cancelEvent() setVehicleEngineState (theVehicle, false) setElementHealth( vehicle, 300 ) end end end end end addEventHandler ("onPlayerCommand", root, antiVehicleEngine)--]] Também veio um desktop.ini com isso: [.ShellClassInfo] LocalizedResourceName=[HYPERMODS]explodir
×
×
  • Create New...