19.12.2016, 14:04
There are literally 2 ways:
1. All modes in gamemode, maps as filterscripts or in the gamemode if you want.
where needed.
2. Modes and maps as filterscripts, unload fs of previous mode & map, load fs of new mode & map.
It isn't that hard. I'd prefer the 1st way btw, go with anyone though, I don't really care.
1. All modes in gamemode, maps as filterscripts or in the gamemode if you want.
pawn Code:
switch(mode)
{
case MODE_1:
{
// stuff
}
// others
}
2. Modes and maps as filterscripts, unload fs of previous mode & map, load fs of new mode & map.
It isn't that hard. I'd prefer the 1st way btw, go with anyone though, I don't really care.