@altv/types-serverInterfacesICustomGlobalMetaICustomGlobalMeta Extend it by interface merging for use in global meta alt.getMeta, alt.setMeta, etc.Example declare module "alt-shared" { // extending interface by interface merging export interface ICustomGlobalMeta { numberExample: number stringExample: string }}const value = alt.getMeta("numberExample") // return value: number | undefinedalt.setMeta("stringExample", "value") // key: "stringExample", value: string
Extend it by interface merging for use in global meta alt.getMeta, alt.setMeta, etc.
Example