Jump to content

Anderl

Members
  • Posts

    2,266
  • Joined

  • Last visited

Everything posted by Anderl

  1. Should have came here before wasting money in RAM. What do you do with the PC? You should have either upgraded to 8GB if you needed them or just didn't upgrade it. http://en.wikipedia.org/wiki/Multi-chan ... chitecture Your system uses Dual-Channel RAM architecture, you put RAM as Triple Channel. With that, you lost performance ( you won't notice almost anything in gaming and general stuff, though ).
  2. E como ele vai programar se não sabe o significado do nome das coisas?
  3. The code in that topic will have to be changed since you need to get the file's content from server-side, otherwise you need to download the file first. @IIYAMA, it won't matter.
  4. I didn't say anything about fileDelete, I'm talking about reading script files content and loading it into memory with loadstring.
  5. Don't let the file be downloaded to the client's computer, load it into memory only.
  6. Anderl

    Simbol

    You're welcome
  7. The OP has most likely already hosted a server, this is 7 months old.
  8. You must have did something wrong.. It's all okay.
  9. Anderl

    Simbol

    * is multiply, ^ is power. Example: print( 2 * 2 ); -- 4 print( 2 ^ 3 ); -- 8; "_" can be used for much things, but it's still a character like others. You can for example write "_" instead of a variable name in the middle of the parameters of the functions if you don't need it or when creating wrappers: --Function parameters example: addEventHandler( "onClientPlayerWeaponFire", root, function( p_Weapon, _, _, _, _, _, p_Element ) --look here --some code end ) --Wrappers: _createObject = createObject; function createObject( ... ) --some code return _createObject( ... ); end
  10. Ok, it should work fine. What doesn't work exactly?
  11. You either wrote "guiCreatWindow" in the script just like you did here ( which is wrong ) or you added the file as server-side code, but it is client-side.
  12. Show the compiled file contents.
  13. E precisa de página em português? Para programar é preciso saber o básico de Inglês, se ele não consegue as páginas da Wiki é melhor começar a estudar inglês primeiro.
  14. The downloads are deleted... but @Anderl did you mean the luac*.exe ??? luac.exe, yes.
  15. Anderl

    Export, calling

    Create a function in that resource to open the GUI and export it.
  16. Anderl

    Command

    How is the table wrong? The table has no syntax error. @Msypon, the script isn't working because what you are doing in the if statement is comparing "cmd" string with the called index from 'commands' table but your table is number-indexed. The table below is how it should be: local g_pCommands = { [ "hi" ] = true, [ "oh" ] = true; }; You should also check if there is an index with same string chars as "cmd", not check if "cmd" is equal to "commands[cmd]": if ( commands[cmd] ) then By the way, use local variables the more you can.
  17. Use Lua compiler, it comes in Lua for Windows.
  18. Dropbox isn't a file transfer server, it's a website for saving/sharing your files. Grab some 000WebHost free website and host there your musics.
  19. Anderl

    Export, calling

    Well, if that's what Solidsnake14 said, use startResource. If you mean like opening a GUI and from other resource with exports but still be able to have the events, etc. then just create a function that would open GUI and export it, since events and all these things are already added it will work normally.
  20. Anderl

    Export, calling

    What do you mean by exporting the whole script?
  21. Not wanting to start a fight but I doubt that group panel is yours ( if that's the one you requested help with here ), someone told me that vG MySQL resource has a function "getConnection" too... Don't you think you should tell that to yourself? Anyways, don't reply to this, don't want to start a fight.
  22. Just pass the link of the sound file to playSound, it can be wherever you want. playSound( "http://www.your-website.com/Your_music.mp3", false );
  23. Oh, I thought you meant the space in front of you.
×
×
  • Create New...