<UN> YouHelpMe : v0.2 
3 comments


Full changelog can be found in here.
YouHelpMe (YHM) is a CS2D Lua script for showing hint and tips upon spawning.
I made this script just for fun and intended to replace TipsSpawner (which is now gone due to reasons).






"It is shrimple as you see"
Unzip the .zip and move
yhm.lua
into your sys/lua/autorun
.For older releases, it is available in the Github Releases.


JSON configuration used to handle how YHM configured, it is placed in
sys/yhm-config.json
. Here's the example.Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"colorMessage": {
"test": "0,255,255"
},
"messages": {
"T": [
"no color T",
"Hint: hint color T",
"Tips: tips color T",
"Test: test color T"
],
"CT": [
"no color CT",
"Hint: hint color CT",
"Tips: tips color CT",
"Test: test color CT"
]
}
}
"colorMessage": {
"test": "0,255,255"
},
"messages": {
"T": [
"no color T",
"Hint: hint color T",
"Tips: tips color T",
"Test: test color T"
],
"CT": [
"no color CT",
"Hint: hint color CT",
"Tips: tips color CT",
"Test: test color CT"
]
}
}
A JSON schema file is available to help you on writing configuration.
Code:
1
2
3
2
3
{
"$schema": "https://raw.githubusercontent.com/UrNightmaree/cs2d-repo-manager/master/schema/yhm-config.schema.json"
}
"$schema": "https://raw.githubusercontent.com/UrNightmaree/cs2d-repo-manager/master/schema/yhm-config.schema.json"
}
Check out the Documentation also.


YHM also has an API!, you just need to
require
it and you should able to use global YHM
which is used as namespace for the API.For API docs, it is placed in Github repository of this script. Click here.


This script licensed under MIT License, which means you can modify or use this as you want!
(I had to reupload the file again since some issues happen with it)
edited 3×, last 11.04.23 01:00:35 am

Comments
3 comments



Log in!
You need to log in to be able to write comments!Log in
@
Gaios: I've already planned for that, even put it in Todo list. You could can check the homepage and go to TODO section, there should be a list what i've implemented and what not.




