def On_PluginInit(self):
DataStore.Flush("JoiningPlayers")
def On_PlayerSpawned(self, Player, SpawnEvent):
if DataStore.Get("JoiningPlayers", Player.UID) is not None:
DataStore.Remove("JoiningPlayers", Player.UID)
# todo: Do something here
def...
Add a value to the ds on connected.
When the player spawns check if there is anything in the data. Not bad threory tho, will check it.
Sent From My Samsung Galaxy S4
It looks good. What I did on Pluton is that I used the DS and used ticks to calculate. What u should do is store the time data in the DS and if it passed then the on plugininit can remove It or something
Sent From My Samsung Galaxy S4
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.