Bahoma Posted August 11, 2012 Share Posted August 11, 2012 I'm creating a jail script , everything going good but now i have a problem , i don't know how to create a timer ( for example when player have 1 stars and he is jailed , he must stay in jail and see in his screen 40sec ( countdown) and when the 40sec pass , he will go out .) pliz how to put it ? thx for the help guys Link to comment
Bahoma Posted August 12, 2012 Author Share Posted August 12, 2012 setTimer thx , but how to make the Timer visible on player screen ? Link to comment
Castillo Posted August 12, 2012 Share Posted August 12, 2012 You must draw it client side with: dxDrawText or guiCreateLabel Link to comment
TAPL Posted August 12, 2012 Share Posted August 12, 2012 and you need getTimerDetails to get the remaining time and draw it i recommend Text functions as it available server side. https://wiki.multitheftauto.com/wiki/Ser ... _functions Link to comment
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