altmp / altv-client-js

Official clientside JavaScript runtime for alt:V
6 stars 7 forks source link

Add static local storage methods and deprecate instance methods #52

Closed LeonMrBonnie closed 3 years ago

LeonMrBonnie commented 3 years ago

There is no need to require developers to get an instance of the class, all the classes access the same JS object, so just changing it to static methods makes the most sense.

See https://github.com/altmp/altv-issues/issues/822