Releases: BerkieBb/berkie_states
Releases · BerkieBb/berkie_states
1.1.4
1.1.3
- Fixed an issue where the loop will stop because of an error
Full Changelog: 1.1.2...1.1.3
1.1.2
- Fixed an issue where player states would not save.
Full Changelog: 1.1.1...1.1.2
1.1.1
- Fixed an error with
GetGamePool
not being defined.
Full Changelog: 1.1.0...1.1.1
1.1.0
Changes
- Added the option to select a state type, these are 'player', 'entity', 'global' and 'all'.
- Reworked the resource to use state bags only and save as minimal information in the resource itself so you can use it from anywhere without having to use an export.
- getPlayerIdentifier now prioritizes license2.
- Added the option to remove a state from all state bags in the export
removeState
. - Added an export to get the config, the export is
getStates
. - The following exports have been removed: setState, subtractFromState, addToState and getStateFromPlayer. These have been removed with the intention of you handling these changes yourself with state bags as this resource now picks up those changes as well.
Extra Info
The entities that the entity state gets are all entities in the world, that includes peds, vehicles and objects. I might change this behaviour to be a config option instead if requested.
Full Changelog: https://github.com/BerkieBb/berkie_states/commits/1.1.0