Lloyd Logan Posted January 18, 2013 Posted January 18, 2013 Hey, this has been annoying me, how do i use outputChatBox with setTimer ? its getting hopeless as I can only use setTimer with fIxVeh If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE SCOTLAND, my hometown, and the Home of GTA!
Castillo Posted January 18, 2013 Posted January 18, 2013 What do you mean by using outputChatBox with setTimer? you mean send a chat message after X time? if so, then is easy: setTimer ( outputChatBox, 5000, 1, "Hello World!" ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
psydomin Posted January 18, 2013 Posted January 18, 2013 --setTimer(outputChatBox, time, how many times to repeat(use 0 for infinite), "And the string you want to output") --like this: setTimer(outputChatBox, 1000, 1, "String") --it outputs String on the chatBox after 1 sec Currently working as a paid scripter. Contact me for details.
Lloyd Logan Posted January 18, 2013 Author Posted January 18, 2013 What do you mean by using outputChatBox with setTimer? you mean send a chat message after X time? if so, then is easy: setTimer ( outputChatBox, 5000, 1, "Hello World!" ) Jeez, I kept writing, setTimer (5000, 1,outputChatBox("blah"), hitElement) Thank you. If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE SCOTLAND, my hometown, and the Home of GTA!
Castillo Posted January 18, 2013 Posted January 18, 2013 You're welcome. With setTimer is always like this: setTimer ( function, time, repeats, arguments ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Lloyd Logan Posted January 18, 2013 Author Posted January 18, 2013 You're welcome.With setTimer is always like this: setTimer ( function, time, repeats, arguments ) Ah, see this always confused me, so if I were to do setElementHealth(<---Random) would it be, setTimer(setElementHealth, 5000, 1, 100) ? Thanks If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE SCOTLAND, my hometown, and the Home of GTA!
Castillo Posted January 18, 2013 Posted January 18, 2013 Yes, but you would need to put the element before the "100". San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Lloyd Logan Posted January 18, 2013 Author Posted January 18, 2013 Yes, but you would need to put the element before the "100". Ahh I understand now, Thank you! If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE SCOTLAND, my hometown, and the Home of GTA!
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