devildead622 Posted March 5, 2013 Posted March 5, 2013 what function for send message for all in server?
Anony# Posted March 5, 2013 Posted March 5, 2013 @ Mr.Pres[T]ege, responded very fast ^^ Team, MTA Scripters.
iPrestege Posted March 5, 2013 Posted March 5, 2013 How you will use it? type command or what the fu ck?
devildead622 Posted March 5, 2013 Author Posted March 5, 2013 wanna do random messages during game @ Mr.Pres[T]ege, responded very fast ^^²
iPrestege Posted March 5, 2013 Posted March 5, 2013 setTimer(outputChatBox, 10000, 0, "Welcome To Our Server ((=", getRootElement(), 0, 255, 0, true) This is server side code and this message will come every 10 seconds.
PaiN^ Posted March 5, 2013 Posted March 5, 2013 setTimer(outputChatBox, 10000, 0, "Welcome To Our Server ((=", getRootElement(), 0, 255, 0, true) This is server side code and this message will come every 10 seconds. wanna do random messages during game " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
iPrestege Posted March 5, 2013 Posted March 5, 2013 Messages = { "MSG[1]", "MSG[2]", "MSG[3]", "MSG[4]", "MSG[5]", "MSG[6]", } addEventHandler("onResourceStart",resourceRoot, function () local theMessages = Messages[math.random(1,#Messages)] setTimer(outputChatBox,1000,0,theMessages,getRootElement(), 0, 255, 0, true) end ) Change the event as what you wan't.
Anderl Posted March 5, 2013 Posted March 5, 2013 Use local variables instead. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
iPrestege Posted March 5, 2013 Posted March 5, 2013 (edited) Use local variables instead. Next Time . Edited March 5, 2013 by Guest
devildead622 Posted March 5, 2013 Author Posted March 5, 2013 very thanks!very thanks!very thanks!very thanks!very thanks! =D
iPrestege Posted March 5, 2013 Posted March 5, 2013 Work With Me Server Side ((= ! Just Make Sure it's Server!
PaiN^ Posted March 5, 2013 Posted March 5, 2013 Or post your meta.xml .. " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
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