Bahoma Posted August 11, 2012 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
Castillo Posted August 12, 2012 Posted August 12, 2012 setTimer San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Bahoma Posted August 12, 2012 Author Posted August 12, 2012 setTimer thx , but how to make the Timer visible on player screen ?
Castillo Posted August 12, 2012 Posted August 12, 2012 You must draw it client side with: dxDrawText or guiCreateLabel San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
TAPL Posted August 12, 2012 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
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