Skip to content

Commit

Permalink
Merge pull request #4 from pandathebeasty/feature/update_lang
Browse files Browse the repository at this point in the history
Feature/update lang
  • Loading branch information
Quake1011 authored May 14, 2024
2 parents 5f27eaa + 0c66eeb commit 08fb17d
Show file tree
Hide file tree
Showing 10 changed files with 606 additions and 435 deletions.
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

*.zip
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ Allows you to refill your health. A rewritten version of the [plugin](https://fo

## Requirements
- [Metamod](https://www.sourcemm.net/downloads.php/?branch=master)
- [CounterStrikeSharp](https://github.com/roflmuffin/CounterStrikeSharp/releases/tag/v129) >= v129(tested here and 100% working)
- [CounterStrikeSharp](https://github.com/roflmuffin/CounterStrikeSharp/releases) >= v233(tested here and 100% working)

## Install
- Move the contents of folder `build/` to `addons/counterstrikesharp/plugins/medic`
- Configuration file will be generated after the plugin is launched in the folder `addons/counterstrikesharp/configs/plugins/medic/medic.json`

### medic.json
- **PluginTag** - chat tag of the plugin
- **MinHealth** - minimum HP, for the use of a medic [default: 40]
- **Healthhealth** - HP that will be restored after use [default: 100]
- **Cost** - the price of using a medic [default: 2000]
Expand All @@ -18,11 +19,3 @@ Allows you to refill your health. A rewritten version of the [plugin](https://fo
- **AccessFlag** - access flag for to use commands. Set empty to allow for all [default: @css/ban]
- **HealSuccessSound** - The path to the file being played after heal HP. Set empty for turn off this function [default: items/healthshot_success_01]
- **HealFailureSound** - The path to the file being played after failure heal HP. Set empty for turn off this function [default: buttons/blip2]

## About possible problems, please let me know:
[<img src="https://i.ibb.co/LJz83MH/a681b18dd681f38e599286a07a92225d.png" width="15.3%"/>](https://discordapp.com/users/858709381088935976/)
[<img src="https://i.ibb.co/tJTTmxP/vk-process-mining.png" width="15.3%"/>](https://vk.com/bgtroll)
[<img src="https://i.ibb.co/VjhryGb/png-transparent-brand-logo-steam-gump-s.png" width="15.3%"/>](https://hlmod.ru/members/palonez.92448/)
[<img src="https://i.ibb.co/xHZPN0g/s-l500.png" width="15.3%"/>](https://steamcommunity.com/id/comecamecame)
[<img src="https://i.ibb.co/S0LyzmX/tg-process-mining.png" width="16.3%"/>](https://t.me/ArrayListX)
[<img src="https://i.ibb.co/Tb2gprD/2056021.png" width="15.3%"/>](https://github.com/Quake1011)
9 changes: 9 additions & 0 deletions build/lang/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"medic.AliveMsg": "{0} [default]You need be alive to use this command.",
"medic.NoAccess": "{0} [default]You don't have access to use this command.",
"medic.LimitReached": "{0} [default]Limit has been reached. Total: [red]|{1}|[default].",
"medic.NoMoney": "{0} [default]Not enough money to use medic. You need [red]|{1}$|[default].",
"medic.MinHealth": "{0} [default]You need [red]{1}HP [default]or less to use medic.",
"medic.FullHP": "{0} [default]You have [red]full HP [default]already.",
"medic.HealMsg": "{0} [default]Player [red]{1} [default]used medic([red]+{2}HP[default])."
}
Loading

0 comments on commit 08fb17d

Please # to comment.