This plugin is for this map:
https://steamcommunity.com/sharedfil.../?id=510119667
It is recording the reached level in SQL and you are able to change between the reached levels.
You can use the goto say command for changing levels or you can just type in chat "goto 10".
You will need to create
traps table in SQL:
PHP Code:
CREATE TABLE `traps` (
`steamid` varchar(20) NOT NULL,
`currentLevel` tinyint(4) NOT NULL,
`highestLevel` tinyint(4) NOT NULL,
UNIQUE KEY `steamid` (`steamid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
This is my first plugin and i'm sure that it has bad solutions or bugs so just tell me if you find anything.
One known bad solution is the "level" after completing level 100. I cannot prevent the music after it, so I hope you have any idea for this.