Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.