actions_on_button_press 1.1.1

This commit is contained in:
Resxt 2022-02-27 00:09:33 +01:00 committed by GitHub
parent f5c649124e
commit d05d242a44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
# Actions On Button Press # Actions On Button Press
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 text's position in `setPoint()` and the size and font type in `createServerFontString()`
@ -34,4 +34,4 @@ The player dies when pressing the button
Allows the players to toggle their vote to change the `camera_thirdPerson` dvar on the server (players vote no by default) Allows the players to toggle their vote to change the `camera_thirdPerson` dvar on the server (players vote no by default)
When everyone votes yes the server changes the dvar and resets the vote counts. When everyone votes yes the server changes the dvar and resets the vote counts.
Bots are ignored for the votes. Bots are ignored for the votes.