15.02.2013, 01:58
Quote:
You have an enum that works with the variable PlayerInfo in your game-mode, right?
Well, unfortunately, the FS doesn't read data from the GM. You can't use PlayerInfo unless it's defined in the script you're working with. You could use PVar's to allow the FS to read data from the GM. Otherwise, put the code from the FS into your GM. |
EDIT: I tried putting all the enum and bits from the GM into the FS.. This just made the FS compile fine but the money just stuck the same IG when buying/selling from the FS.
EDIT 2: If I put the code from my FS into my GM won't this break the FS when saving/loading is concerned??