General > Developers Corner
A new Jail type: Cage
Megiddo:
No worries, modification on existing scripts is a great way to learn. We'll try to answer any questions you may have, just remember to always check the lua docs and reference manuals first for general questions (the documentation for lua is awesome after all).
Ploo:
Also remember not to ever edit ULiB/ULX files. Whilst you can, this is not the correct way to do it.
Always make a new module in the addon format just like explained JamminR's first post.
tssge:
I did, and it worked. I only copied the "base" code of mine from the ULX's jail. The Cage is working nicely, i have some more things in there too for the mingebags weapons and so-on...
Perhaps i should release my first script ever, with credits to ULX team ? :P
Megiddo:
--- Quote from: tssge on February 25, 2010, 07:39:58 AM ---I did, and it worked. I only copied the "base" code of mine from the ULX's jail. The Cage is working nicely, i have some more things in there too for the mingebags weapons and so-on...
Perhaps i should release my first script ever, with credits to ULX team ? :P
--- End quote ---
Sure, do you know how to get it in addon format?
JamminR:
I hope he would. :D
--- Quote from: JamminR on February 15, 2010, 06:28:23 AM ---Create a folder in addons (ex; addons/ulx_cage)
Create an info.txt in addons/ulx_cage
Create folders in your addons/ulx_cage of lua/ulx/modules
Place your my_cage_codename.lua file in the above mentioned modules.
Place your code in that lua file
<clip>
--- End quote ---
Then from addons right click <your addon folder>, select zip/add to archive.
Most zip applications will take the proper folders/files all inclusive
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version