28.09.2016, 17:38
I apologize if this has been posted before or if this is stupid, but I'm lost. To the point:
I have been trying to make a team system in-which teams will be able to be dynamically created and edited. My problem is, I don't know how to identify which team the system should target in order to load or save. There are no IDs attached to the teams as there are with players and if I create an ID system for it, I don't know how to save the current most recent ID over a server restart so I can start with the next ID in the sequence when creating the next team. I don't think the code I've done so far matters, as I've done it wrong, but if you need to see the code I'll post it. Thank you for taking the time to read this and sorry if I'm wasting your time.
I have been trying to make a team system in-which teams will be able to be dynamically created and edited. My problem is, I don't know how to identify which team the system should target in order to load or save. There are no IDs attached to the teams as there are with players and if I create an ID system for it, I don't know how to save the current most recent ID over a server restart so I can start with the next ID in the sequence when creating the next team. I don't think the code I've done so far matters, as I've done it wrong, but if you need to see the code I'll post it. Thank you for taking the time to read this and sorry if I'm wasting your time.