[DiscordArchive] you want to store player object ? in table ?
[DiscordArchive] you want to store player object ? in table ?
Archived author: iThorgrim • Posted: 2020-04-28T12:32:16.184000+00:00
Original source
you want to store player object ? in table ?
Archived author: iThorgrim • Posted: 2020-04-28T12:33:57.976000+00:00
Original source
if you want to store player ionformation on table in lua it's simple :
```lua
local storage = {};
local function blablabla(event, player)
local pGuid = player:GetGUIDLow();
if not storage[pGuid] then
storage[pGuid] = {
level = player:GetLevel();
};
end
end
```