Storing seperate data for each player
#5

Well, creating them like pMission1[MAX_PLAYERS]; is just fine, if its mixing up then you are probably not clearing the variable after being used? I mean, clearing them when their mission fails, when they complete the mission or when they connect to the server.

I'd still go with enum rather than this.
Reply


Messages In This Thread
Storing seperate data for each player - by Saddin - 07.09.2015, 16:57
Re: Storing seperate data for each player - by ]Rafaellos[ - 07.09.2015, 18:27
Re: Storing seperate data for each player - by Pottus - 07.09.2015, 18:51
Re: Storing seperate data for each player - by Saddin - 07.09.2015, 20:51
Re: Storing seperate data for each player - by Sjn - 07.09.2015, 21:09
Re: Storing seperate data for each player - by Saddin - 07.09.2015, 21:18
Re: Storing seperate data for each player - by Sjn - 07.09.2015, 21:32

Forum Jump:


Users browsing this thread: 3 Guest(s)