View Full Version : Looking for a lib
nielegalnyKUBA
03-16-2016, 04:55 PM
Do you guys know any good lib's to use for full afks?
Im learning lua and i want to start using lib's to make
my life easier, anyone know any good lib's guys?:cool:
Jontor
03-16-2016, 05:04 PM
Doubt there are any public libraries, you have to code one on your own
nielegalnyKUBA
03-16-2016, 05:10 PM
Shit, i guess it's basically just declaring 'shortcuts' right?
Like for example
Penis.BuyAmmo = Buy all of speccified within the config with "local"
and add all locals like BuyGMP, BuySd etc... to the lib before using it,
right? Or did i mess up somewhere, i still learn lua construction
Vulcanus
03-16-2016, 05:29 PM
I would be instered in that too... :D
Fatality
03-16-2016, 06:20 PM
A library is essentially a file filled with Shortcuts for your code. So instead of writing in every file
function myBuyItems(id, count)
-- code here
end
You can just call it by using
dofile("myLibrary.lua")
Then you can just use it whenever you want by calling it without adding unnecessary lines to your main lua.
nielegalnyKUBA
03-16-2016, 06:25 PM
That's what i was thinking!
Thanks!
Also, you know where i can get a example by any chance?
eldera
03-20-2016, 08:11 PM
OX "framework" :)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.