actions_on_button_press 1.2.1

This commit is contained in:
Resxt 2022-03-02 01:03:59 +01:00
parent 45b5cfc69a
commit 9bfe903f6e

View File

@ -2,7 +2,7 @@
These scripts allow players on the server to press a button (displayed on screen) to trigger a function. These scripts allow players on the server to press a button (displayed on screen) to trigger a function.
Note that if you combine several scripts you will have to change the texts positions so that they don't overlap by changing the last value in `setPoint()` Note that if you combine several scripts you will have to change the texts positions so that they don't overlap by changing the last value in `setPoint()`
You can also change the text's position in `setPoint()` and the size and font type in `createServerFontString()` You can also change the size and font type in `createServerFontString()`
Changing the button in `Init()` will change both the button displayed on screen and the button used to trigger the function. Changing the button in `Init()` will change both the button displayed on screen and the button used to trigger the function.
Here is a non-exhaustive list of buttons you can use Here is a non-exhaustive list of buttons you can use