iFoReX Posted May 20, 2012 Posted May 20, 2012 in a servers I looked a buttons for paste the serial , a function for do it ?
Castillo Posted May 20, 2012 Posted May 20, 2012 You mean paste a text copied on the clipboard? if so then you can use the function: setClipboard to set the clipboard text.
iFoReX Posted May 20, 2012 Author Posted May 20, 2012 Ok thank you, , now, how do a script for it : Example : guiSetText(label, "the Manhunt Finished in X Seconds" ) how ? X seconds
Stanley Sathler Posted May 20, 2012 Posted May 20, 2012 getTickCount() I don't know, but I think it works for it.
Noneatme Posted May 20, 2012 Posted May 20, 2012 local rofl = 5 setTimer(function() guiSetText(label, "the Manhunt Finished in "..rofl.." Seconds" ) rofl = rofl-1 end, 1000, rofl)
Jaysds1 Posted May 20, 2012 Posted May 20, 2012 Use what StanleySathler posted at the beginning of the manhunt then when it's time to get the seconds , add the same thing again before the output then get the first tick and the last tick and minus both then put: local X = firstTick - secondTick You could use my resource for an example: https://community.multitheftauto.com/index.php?p= ... ls&id=4730
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now