Instalar Steam
iniciar sesión
|
idioma
简体中文 (chino simplificado)
繁體中文 (chino tradicional)
日本語 (japonés)
한국어 (coreano)
ไทย (tailandés)
Български (búlgaro)
Čeština (checo)
Dansk (danés)
Deutsch (alemán)
English (inglés)
Español de Hispanoamérica
Ελληνικά (griego)
Français (francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (húngaro)
Nederlands (holandés)
Norsk (noruego)
Polski (polaco)
Português (Portugués de Portugal)
Português-Brasil (portugués de Brasil)
Română (rumano)
Русский (ruso)
Suomi (finés)
Svenska (sueco)
Türkçe (turco)
Tiếng Việt (vietnamita)
Українська (ucraniano)
Comunicar un error de traducción
local wreckPart = vehicle:getPartById("ATA2VehicleWrecker")
if wreckPart then
wreckPart:setInventoryItem(nil)
end
----------------
MoroccanMaracas 13 Oct, 2023 @ 3:41am
I've noticed, when using Cheat Menu to spawn one in, it spawns with a vehicle already loaded, but when you try to unload it, it unloads a completely burned/broken model and doesn't actually empty- it continuously spawns a car shell each time you unload it.
a truck full of incredibly useful tools and equipment.
this is unacceptable.
You also cannot store object into table or moddata, what you stores again is reference of the object which will disappear after the game reload or you move away from the cell. If you want to store object into ModData, you gotta serialize it but that is stupid amount of work and ineffective.
If you want to store items of the vehicle, a hidden compartment can be used but that will create weight on the hauler. Alternatively, dump the items of the vehicle on the floor on load and clear the items in containers since it regenerate every time on unload.
Whatever you decide, do fix this bug.