2 .string chmap, gametype;
3 void spawnfunc_target_changelevel_use()
5 if(self.gametype != "")
6 MapInfo_SwitchGameType(MapInfo_Type_FromString(self.gametype));
9 localcmd("endmatch\n");
11 localcmd(strcat("changelevel ", self.chmap, "\n"));
14 void spawnfunc_target_changelevel()
16 self.use = spawnfunc_target_changelevel_use;