davedavy Posted May 26, 2010 Posted May 26, 2010 i search a script where comes every time ( 30 seconds) a message comes in chat , ( every time a other message ) and i like to edit self the messages... is that possible? thanx ( sorry for my bad english )
Dark Dragon Posted May 26, 2010 Posted May 26, 2010 every 30 seconds? wow thats real spam local messageTable = { "a message", "another message", "something totally different", "etc...", } function outputSpam() outputChatBox(messageTable[math.random(1,#messageTable)],getRootElement(),255,255,255) end setTimer(outputSpam,30000,0) Loads of fun for free! Also a lot of fun for free!
50p Posted May 26, 2010 Posted May 26, 2010 Or, https://community.multitheftauto.com/index.php?p= ... ils&id=186 - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
Cannonball Posted May 27, 2010 Posted May 27, 2010 every 30 seconds? wow thats real spam local messageTable = { "a message", "another message", "something totally different", "etc...", } function outputSpam() outputChatBox(messageTable[math.random(1,#messageTable)],getRootElement(),255,255,255) end setTimer(outputSpam,30000,0) I wonder, after your last input @ table "etc...", <-- Should that actually require a dot? "," I thought it didnt, but not sure.
dzek (varez) Posted May 27, 2010 Posted May 27, 2010 Hmm It doesnt require that comma. More - i think this will fail, not run with this.. Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
kevin11 Posted May 27, 2010 Posted May 27, 2010 (edited) the guy who made that script looks good to me i never really read Edited May 27, 2010 by Guest
dzek (varez) Posted May 27, 2010 Posted May 27, 2010 cannoball didnt write any script in this topic, he just quoted o_O Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Dark Dragon Posted May 27, 2010 Posted May 27, 2010 a handy thing with tables is that the last comma can be there but is not needed, but having it there is comfortable when simply copying and pasting new lines cannonballs script looks good to me huh? Loads of fun for free! Also a lot of fun for free!
Castillo Posted May 27, 2010 Posted May 27, 2010 a handy thing with tables is that the last comma can be there but is not needed, but having it there is comfortable when simply copying and pasting new linescannonballs script looks good to me huh? lol failure, seems that he dint checked who made it San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Cannonball Posted May 27, 2010 Posted May 27, 2010 I didnt edit'd his script, I quoted it lol. Anyhow, im not sure if it works.
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