Deciding how to store "mission info" - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Deciding how to store "mission info" (
/showthread.php?tid=486489)
Deciding how to store "mission info" -
driftg0d - 09.01.2014
Hey everyone, I'm trying to do a "campaign style" server.
It will have many missions, and of course those missions should have their info.
Should I store them in an enum, and then save it as I do with playerdata but with missions?
Thanks
Re: Deciding how to store "mission info" -
nmader - 09.01.2014
I would do exactly as you suggested, personally. Create variables like Missions[99] and declare when they are finished and such.