DataSystem
Links:
Github: https://github.com/PWisniaNE/MTA-SA-DataSystem
Authors:
P.Wiśnia (https://github.com/PWisniaNE)
Rick (https://github.com/httpRick/)
Server-Side functions:
setCustomData(element,name,variable,key)
getCustomData(element,name,key)
getAllCustomData(element,key)
getElementsByCustomData(name,key)
hasCustomData(element, selectedKey, name, variable)
removeCustomData(element,name,key)
Client-Side functions:
getCustomData(element,name)
setCustomData(element,name,variable)
hasCustomData(element,name,variable)
KeyTypes:
Server (non-synchronization, data only storage on server)
Synced (synchronization with all players)
Client (synchronization from server to one player)
Group (synchronization from server to group of players)