Jefferson Motel Team DeathMatch V2.1

























-
depositfiles.comDownload
Once upon a time, when I first started learning scripting (a year or two ago, if not more), I created a mod - a deathmatch. The setting is at the 'Jefferson' motel. A battle between the Groves and the police. 1033 lines. Where did I first place it, you ask? Here. Let me translate this topic for you.
Jefferson Motel Team DeathMatch.
Hello, dear members of the SA:MP community! Today I want to share my gamemode. Its name is JMTDM. I wrote it from scratch and used ZCMD, sscanf, and y_ini.
Commands:
/shop, /help, /report, /pm, /kill, /stats, /cshop.
Admin commands:
/kick, /warn, /goto, /gethere, /makevip, /makeadmin, /ban, /unban, /givecash, /sethealth, /setarmour,
/resetstats, /fine, /a(/asay), /reportmute, /givecookie.
VIP commands:
/vc, /togvc.
Version history
V2.1:
1. Fixed the /report and /reportmute commands.
2. Added /vc and /togvc commands for VIPs.
3. Changed the /help command.
4. Now the /vc and /pm commands have their own colors: purple and yellow.
5. Created the /givecookie command, used to reward players.
6. Created the /cshop command. You can buy an AK and armor for rewards there.
7. Changed the /stats command.
8. Fixed the dialog of the /shop command (( When buying an AK, it said you bought an M4 )).
9. Fixed the GetVipLvlName function.
V2.0:
1. Created a registration/login system. Now player data is saved, unlike before.
2. Created an administration system with 5 levels.
3. Created a VIP system. There are no commands yet, I would appreciate any suggestions.
4. Now only VIPs of level 1+ can buy grenades.
5. Made several commands for players.
6. Now armor costs $5000 instead of $4000, as it did before.
7. The /shop command is now in the form of dialogs.
8. Implemented a warning system. Five warnings lead to a ban.
9. Divided the script into sections using '------'.
10. Now the /shop and /help commands can also be entered using the CONVERSATION_YES and CONVERSATION_NO keys (( Y and N by default )).
V1.0:
The first release of the script.
Special thanks:
Soumi - Help with script writing (( Specifically - training ))
Y_Less - sscanf2, y_ini.
Zeex - ZCMD.
Когда-то давным давно, когда я только начал учиться скриптингу (год-два назад, если не больше), я написал один мод - дезматч. Действие в мотеле \'Джефферсон\'. Борьба Грувовцев и полиции. 1033 строки. Где я его поместил в первый раз, спросите вы? Тут. Переведу для вас эту тему.
Jefferson Motel Team DeathMatch.
Здравствуйте, дорогие члены сообщества SA:MP! Сегодня я хочу выложить свой гейммод. Его название JMTDM. Я написал его с нуля и использовал ZCMD, sscanf и y_ini.
Команды:
/shop, /help, /report, /pm, /kill, /stats, /cshop.
Команды админов:
/kick, /warn, /goto, /gethere, /makevip, /makeadmin, /ban, /unban, /givecash, /sethealth, /setarmour,
/resetstats, /fine, /a(/asay), /reportmute, /givecookie.
Команды VIP\'ов:
/vc, /togvc.
История версий
V2.1:
1. Исправлены команды /report и /reportmute.
2. Добавил команды /vc и /togvc для VIP\'ов.
3. Изменил команду /help.
4. Теперь у команд /vc и /pm есть собственные цвета: фиолетовый и желтый.
5. Создал команду /givecookie, используемую для награждения игроков.
6. Создана команда /cshop. Там можно купить АК и броню за награды.
7. Изменил команду /stats.
8. Исправил диалоговое окно команды /shop (( При покупке АК писал, что Вы купили М4 )).
9. Исправил функцию GetVipLvlName.
V2.0:
1. Создал систему регистрации/логина. Теперь данные игрока сохраняются, не то что раньше.
2. Создал систему администрирования, которая имеет 5 уровней.
3. Создал систему VIP\'ов. Команд пока нет, был бы рад если бы Вы посоветовали мне несколько.
4. Теперь только VIP\'ы уровня 1+ могут купить гранаты.
5. Сделал несколько команд для игроков.
6. Теперь броня стоит $5000, а не $4000, как раньше.
7. Команда /shop теперь в виде диалогов.
8. Сделал систему предупреждений. Пять предупреждений - бан.
9. Разделил скрипт на секции при помощи \'------\'.
10. Теперь команды /shop и /help могут также быть введены при помощи клавиш CONVERSATION_YES и CONVERSATION_NO (( Y и N по умолчанию )).
V1.0:
Первый релиз скрипта.
Отдельное спасибо:
Soumi - Помощь в написании скрипта (( А конкретно - обучение ))
Y_Less - sscanf2, y_ini.
Zeex - ZCMD.