Page MenuHomeFeedback Tracker

addBackpack "" causes a "Bad Vehicle Type" error
New, WishlistPublic

Description

If you use player addBackpack "" it will cause a "Bad Vehicle Type" error. This only occurs if you attempt to leave the classname empty as "".

Details

Legacy ID
2143774101
Severity
None
Resolution
Open
Reproducibility
Always
Category
Error Message
Steps To Reproduce

player addBackpack "";

Event Timeline

PolarisUK edited Additional Information. (Show Details)
PolarisUK set Category to Error Message.
PolarisUK set Reproducibility to Always.
PolarisUK set Severity to None.
PolarisUK set Resolution to Open.
PolarisUK set Legacy ID to 2143774101.May 7 2016, 6:11 PM
Bohemia added a subscriber: AD2001.Mar 17 2014, 6:30 PM

+1

If it would bring error message every time when player addBackpack "" is executed I'd accept this as a feature but since it shows only once and never get shown again until restart, this is not very good error handling. Make it show every time or never.

Considering every other add command doesn't return an error with "" I'm not sure why this should be the exception? Simply remove the error.