Best way to start a new gamemode
#1

I'm currently starting to code a new RolePlay gamemode, My question is.
What's better, writing the whole gamemode in one script or make each system in seperate files and include them into the main gamemode?
Reply
#2

I am using includes which is the best, I think :/
Reply
#3

I'm not sure about speed, but it's definitely a lot easier to find any functions and even problems if they're all in includes.

It's also much easier to move from everything from its individual include to a gamemode. It's a lot more tedious to remove everything from a GM and make it an include.
Reply
#4

Logic, the best way I would like to start up a server is to begin off with a simple script
https://sampforum.blast.hk/showthread.php?tid=279927 - Roleplay Script.

You can then begin to add more CMD's and ADmin Commands, and some nice Unique feature like.

My personal own "Dynamic Factions" "Dynamic Business", and housing.
I would the begin to add my factions in, like LSPD, FBI ETC.

Then I would begin to add some more features, like "Crate Systems"
Reply
#5

Make an include for each system. Trust me it's the best way.
Reply
#6

Making each system separate is better option cause it will be easier for you to disable those features in game through some coding in the main script. Don't make the separate part as filterscript, Include would be better option so that you can co-relate the includes and the main GM.
Reply
#7

Thank you guys, I'll include each system
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)