27.11.2016, 14:18
(
Последний раз редактировалось Jelly23; 04.01.2017 в 20:13.
)
Multi Modes
This is a gm with 3 modes in it: War, TDM (Swat vs Terrorist) and Minigun DM, the admin/account system is the same as in my previous gamemode, so it includes the ban list and so on. The mode selection lobby is made w/ TextDraws, it shows aswell some information, like top players and so on.
Configuration
MySQL Information
- #define mysql_host - Your MySQL host, you may change the address at line 15.
- #define mysql_user - Your user name.
- #define mysql_database - Your database name.
- #define mysql_pass - Your DB password.
- #define YOUR_WEB - Pretty obvious, your website.
- #define WAR_VERSION - War mode's version, by default its 1.0
- #define TDM_VERSION - TDM mode's version, by default its 1.0
- #define MDM_VERSION - Minigun DM mode's version, by default its 1.0
- TextDraw based Lobby.
- TDM (Swat vs Terrorists) mode.
- War mode.
- Minigun DM mode.
- Account/Admin/Ban system w/ MySQL.
- Each mode is in a different virtual world.
- Players get tags depending of their mode.
- Shop system - TDM & War only.
- 22 Admin commands.
- 10 Public commands.
- TextDraw menus.
Command | Description |
/report | Will report somebody. |
/savestats | Will save your stats. |
/changemode | Will take you back to the lobby. |
/rules | Will show you the rules. |
/admins | Will show you the admin list. |
/credits | Will show you the credits. |
/stats | Will show your statistics. |
Level | Name |
4 | Owner |
3 | Manager |
2 | Administrator |
1 | Moderator |
Level | Command | Description |
1 | /warn | Will give a warning to somebody. |
1 | /kick | Will kick somebody. |
1 | /spec | Will spectate somebody. |
1 | /specoff | Will stop spec'ing somebody. |
1 | /spawn | Will spawn somebody. |
1 | /slap | Will slap somebody. |
2 | /banlist | Will show the banlist. |
2 | /ban | Will ban somebody. |
2 | /unban | Will unban somebody. |
2 | /weaps | Will show somebody's weapons. |
2 | /disarm | Will disarm somebody. |
2 | /giveallcash | Will give everybody cash. |
3 | /offban | Will ban an offline player. |
3 | /setlevel | Will set somebody's level. |
3 | /setkills | Will set somebody's kills. |
3 | /setdeaths | Will set somebody's deaths. |
3 | /resetcash | Will reset somebody's cash. |
4 | /setweather | Will set the weather. |
4 | /settime | Will set the server time. |
4 | /gmx | Will restart the server. |
4 | /setcash | Will set somebody's cash. |
Command | Description |
/ban | Will ban somebody. |
/unban | Will unban somebody. |
/offban | Will ban an offline player. |
/banlist | Will show the banlist. |
• http://imgur.com/a/8WEWQ
• http://imgur.com/a/ZPUDy
• http://imgur.com/a/nahtk
• http://imgur.com/a/uR2we
• Last bans will show the last 30 bans.
• Find bans will show 30 results according to what you are looking for.
• By clicking in a ban in the list, another dialog will pop up asking if you want to unban that person.
• You can edit bans, such as the admin's name, user and reason.
• Addban feature is the same as offban, the only difference is that it is in dialogs.
Lobby
• http://imgur.com/a/pndRN
• The total amount of admins including their names will be shown.
• Player count in total & per mode will be shown.
• Each mode's map name.
• Each mode's version.
• Top 10 kills.
• Server Info: Website, total modes, player count & admin count.
War Mode
• http://imgur.com/a/IkEiu
TDM Mode
• http://imgur.com/a/W6qza
MDM Mode
• http://imgur.com/a/MbkxT
Mode Tags

Includes/Plugins
Include/Plugin | Topic |
sscanf2 | https://sampforum.blast.hk/showthread.php?tid=602923 |
foreach 0.4.1 | https://sampforum.blast.hk/showthread.php?tid=570868 |
TextDraw Menu | https://sampforum.blast.hk/showthread.php?tid=620516 |
MySQL - R39-6 | https://sampforum.blast.hk/showthread.php?tid=56564 |
Whirlpool | https://sampforum.blast.hk/showthread.php?tid=570945 |
I-ZCMD | https://sampforum.blast.hk/showthread.php?tid=576114 |
GameModeTables