Jump to content

Shazzimal

Members
  • Posts

    92
  • Joined

  • Last visited

Everything posted by Shazzimal

  1. I have read some things from that forum. But when can i really start scripting. I tried to make my first script as you can see here: https://forum.multitheftauto.com/viewtopic.php?f=91&t=54258
  2. Hey, I was just trying to make my first script. Wat I was making is: When someone joins my server, there will come up a GUI window, on that window are comming some rules commands etc. i maked this script and meta: server.lua addEventHandler("onPlayerJoin",getRootElement(), function createWelcomeMessage() local X = 0.375 local Y = 0.375 local Width = 0.25 local Height = 0.25 wdwWelcome = guiCreateWindow(X, Y, Width, Height, "Welcome to my server.", true) X = 0.0825 Y = 0.2 Width = 0.25 Height = 0.25 guiCreateLabel(X, Y, Width, Height, "Welcome to my server! etc...") guiSetVisible(wdwWelcome, false) end meta.xml <meta> <info author="Shazzimal" name="welcomeMessage" version="1.0" disc="Will create a welcome message at join."/> <script src="server.lua"/> </meta> I tried to run it on my server but my server, doesn't recognized it, why? Thanks
  3. Ok, i prefer, but i meant that you havent got to translate into dutch for me.
  4. But what can i learn from it? I want to learn scripting, not only the language, i know the language "lua" a bit, and i think i can do better.
  5. Hey, I am new to scripting and want to learn more about it. Can you guys, post some basic beginner scripts with discriptions on it like this. --After the thing you wrote, so i can learn from it. Thanks
  6. You haven't got to translate all for me. I can understand english very very well, but my write and speaking skills are not really good! Thanks for help goint to do that!
  7. HAHA, nee scripten is echt voor goed engels sprekende, ik ben het aan het leren. Maar ik weet nog niet helemaal wat ik het best allemaal kan doen. TRANSLATION: HAHA, no, scripting is more common to good english speaking people, i'm learning scripting but i don't really know, what i must do to learn it myself. Translation wasn't best!
  8. I already got answer to my questions, but thanks.
  9. Tanks, i didn't though about that.
  10. Ok, thanks, isn't there an other way to scroll, like a tool, or something else?
  11. when i type in "list" (without quotes) i will get a list with all my resources, but how can i scroll back? Where did you learned scripting, or how? And when i want to use sqlite browser to open SQLite3.dll, he says that the file isn't a sqlite database? Is that normal? Thanks
  12. And just another question, where or how did you learned scripting? Edit: There is a sqlite file in the server folder, but when i use my sqlite browser he says that the file, isn't a sqlite database, is that normal, or wat must i do?
  13. I am now going to try, i will leave a comment as fast as i can.
  14. Hello everybody, I've downloaded some new resouces for my server, but when i start my server i must start the resources by themselves. Is there a string i can add to the script so the resource will start directly when my server is starting up. Or something other i can do. I am a bit new to scripting, but i know something about it. Sorry for my grammar, i am just a 13 years old boy from the Netherlands.
×
×
  • Create New...