Hello and welcome to this short tutorial on how to make a time teller expression.
NOTE: The server you are playing on needs to have ULX admin system for this to work.
Here we go:
- Spawn a prop.
- Goto Chip - Expression (wire - control) and make a new expression.
- Filename: Time ( you can put anything )
Label: Whats the time? ( you can change this )
Inputs: Time
Outputs: There is no outputs
Line1: Time == 1 -> concommand('ulx thetime');
- spawn the gate ( validate first ) then spawn a button with on value: 1 off value: 0 toogle: unchecked
- Wire the gate 'Time' to the button.
- Press the button, the time should be displayed