Skip to content

Releases: BerkieBb/berkie_states

1.1.4

06 Sep 09:16
Compare
Choose a tag to compare
  • Fixed the max and min variables being confused with each other
  • Fixed entities not registering after startup

Full Changelog: 1.1.3...1.1.4

1.1.3

22 Jul 16:15
Compare
Choose a tag to compare
  • Fixed an issue where the loop will stop because of an error

Full Changelog: 1.1.2...1.1.3

1.1.2

22 Jul 08:56
Compare
Choose a tag to compare
  • Fixed an issue where player states would not save.

Full Changelog: 1.1.1...1.1.2

1.1.1

20 Jul 12:29
Compare
Choose a tag to compare
  • Fixed an error with GetGamePool not being defined.

Full Changelog: 1.1.0...1.1.1

1.1.0

05 Feb 11:52
Compare
Choose a tag to compare

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