11-29-2015, 09:58 PM
Stupid question...
how can I have a list, which is empty by default.
SocialSpyList = {}
I wanna add Player:GetUUID(), loop over the list while running DoWithPlayerByUUID()
I also want to remove items (just remove a specific UUID, eg on a disable command or on leave)
so where do I have to define the list, so I can use it in OnCommandExecute (loop over the list if not empty) and HandleSocialSpyCommand (and how to add/remove entries)
how can I have a list, which is empty by default.
SocialSpyList = {}
I wanna add Player:GetUUID(), loop over the list while running DoWithPlayerByUUID()
I also want to remove items (just remove a specific UUID, eg on a disable command or on leave)
so where do I have to define the list, so I can use it in OnCommandExecute (loop over the list if not empty) and HandleSocialSpyCommand (and how to add/remove entries)