View Single Post
Author Message
AsDiKa01
New Member
Join Date: Oct 2018
Old 10-04-2018 , 10:33   [CSGO] Level saver/changer for mg_100traps_v4_1
Reply With Quote #1

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` (
  `
steamidvarchar(20NOT NULL,
  `
currentLeveltinyint(4NOT NULL,
  `
highestLeveltinyint(4NOT 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.
Attached Files
File Type: sp Get Plugin or Get Source (traps.sp - 965 views - 43.0 KB)

Last edited by AsDiKa01; 10-04-2018 at 10:37.
AsDiKa01 is offline