1IsTech
(M1nd1sS0ftw4r3)
#1
Hello, I’m making the door sign to show this “P-000” or something like that using string.format but I don’t know how.
here is the line of the code that is used to show mentioned above:
doorModel.Sign.SurfaceGui.TextLabel.Text = string.format("%03d", number)
Any help is appreciated, thanks.
1IsTech
(M1nd1sS0ftw4r3)
#3
I need to put the “P-” before the number so how can I do this?
3YbuKtOp
(Alex_Kornilov)
#4
You just need to add P-
…
doorModel.Sign.SurfaceGui.TextLabel.Text = string.format("P-%03d", number) --> P-000
1 Like
1IsTech
(M1nd1sS0ftw4r3)
#5
Thanks to you for solving my problem.
1 Like
system
(system)
Closed
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.