Home
Home
Register
Login

Resources
Forum






rssChemical Importer (chemical_importer_cr)

Category:script
Author:ChemicalCreation
Downloads:36
Rate:You need to be logged in to vote
Rating:3.7 (3 Votes)
Description:
-------------------------------------------------------
***Chemical Creations***
No flower grows in a day, you have to water it time and time again.... That is why we sweat!
(Love ~ ChemicalLight)
-------------------------------------------------------

--- Chemical_Importer (version: 1.0.0) ---

Description:
This resource makes using exported functions allot
easier. It will automatically gather all exported
functions from all resources in your server for ease
of use. You will then be able to call functions
without using "call" or "exports."
ie:
- instead of using ~ "exports.bone_attach:attachElementToBone(...)"
- or using ~ "call(getResourceFromName("bone_attach"), "attachElementToBone", ...)"
+ you could use ~ "attachElementToBone(...)" done... :)

Instructions:
+ Start the resource (the "test" script will run)
* A folder will be generated by the name of imports
+ Put this folder in any resource
+ Open imports/Imports-Multi.xml
+ Place the contents of this in your resource meta.xml

Functions:
(version: 1.0) ~ server
+ createResourceFunctionImports(resource, [outputDir = sourceResource])
~ resource - to get the functions from
~ outputDir - where to place the imports folder
+ createResourcesFunctionImports([outputDir = sourceResource], ...)
~ ... - name as much resources as desired eg: ("bone_attach", "object_preview", "slothbot")

Known Issues:
--none--

Extra:
* Please consider suggesting a feature or leave
a comment. It's really appreciated.

Contacts:
Discard: https://discord.gg/FxHCc7j
Facebook: fb.me/ChemicalCreationsMTA
MTA Community: https://community.multitheftauto.com/index.php?p=profile&id=463940

Tags:
chemical creation creations chemicalcreation chemicalcreations importer chemical_importer exports
...

(more)

Comments (0) | Download latest version | Report

Version history

Version Publish Date Changes
1.0.0 2018-12-08 12:44:02 First public release Download