devildead622 Posted March 5, 2013 Share Posted March 5, 2013 what function for send message for all in server? Link to comment
iPrestege Posted March 5, 2013 Share Posted March 5, 2013 outputChatBox getRootElement() ?? Link to comment
Anony# Posted March 5, 2013 Share Posted March 5, 2013 @ Mr.Pres[T]ege, responded very fast ^^ Link to comment
devildead622 Posted March 5, 2013 Author Share Posted March 5, 2013 can you explain how to use? =p Link to comment
iPrestege Posted March 5, 2013 Share Posted March 5, 2013 How you will use it? type command or what the fu ck? Link to comment
devildead622 Posted March 5, 2013 Author Share Posted March 5, 2013 wanna do random messages during game @ Mr.Pres[T]ege, responded very fast ^^² Link to comment
iPrestege Posted March 5, 2013 Share 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. Link to comment
PaiN^ Posted March 5, 2013 Share 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 Link to comment
iPrestege Posted March 5, 2013 Share 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. Link to comment
iPrestege Posted March 5, 2013 Share Posted March 5, 2013 (edited) Use local variables instead. Next Time . Edited March 5, 2013 by Guest Link to comment
devildead622 Posted March 5, 2013 Author Share Posted March 5, 2013 very thanks!very thanks!very thanks!very thanks!very thanks! =D Link to comment
devildead622 Posted March 5, 2013 Author Share Posted March 5, 2013 i not have tested! Link to comment
iPrestege Posted March 5, 2013 Share Posted March 5, 2013 Ok it's server side script. Link to comment
iPrestege Posted March 5, 2013 Share Posted March 5, 2013 Work With Me Server Side ((= ! Just Make Sure it's Server! Link to comment
iPrestege Posted March 5, 2013 Share Posted March 5, 2013 "gadsdsag" type="misc" version="1.3.1" /> 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