Organizing The Script - Optimal Solution?
#2

There really is no "solution" as it all comes down to personal preference. You should consider using modules though.

I personally use modules in my scripts and put all relevant functions together (including SA-MP callbacks relevant to a specific script) and then list them under a category by using comments. I also put my SQL queries into modules relevant to what system they are used for.

You should take a look at SouthclawJK's Scavenge & Survive. It's probably one of the best examples you can get and it might give you some ideas.
Reply


Messages In This Thread
Organizing The Script - Optimal Solution? - by RedFusion - 15.10.2014, 05:03
Re: Organizing The Script - Optimal Solution? - by Dignity - 15.10.2014, 05:16
Re: Organizing The Script - Optimal Solution? - by Pottus - 15.10.2014, 05:47

Forum Jump:


Users browsing this thread: 1 Guest(s)