DennisUni Posted April 27, 2013 Posted April 27, 2013 (edited) I know there's already a cool modshop around on the community, however I think this modshop is easier to use and uses alot less code, but does the same. NOTE: The core file is compilled due people being c*nts and re-uploading the script while it's not theirs. All the other files including the server file are not compilled! The colorpicker was made by Aiboforcen Features: - Let players upgrade their vehicles around SA, there are already a couple modshops mapped - A nice looking dx UI, uses only dx drawing no GUI and no images (except for the colorpicker) - Camera rotating around the vehicle - Supports vehicle headlight colors as well - Prices and names are easy to edit - You can see wich upgrades you already have set and remove them easily - Player can't be jacked while modding a car - Handles everything when the car gets destroyed or when a player disconnects/dies while modding Exported functions: - (Serverside) isVehicleModding( vehicle ) - Returns a bool - (Serverside) isPlayerModding( player ) - Returns a bool - (Clientside) getUpgradePrice( upgradeid ) - Returns a number or bool - (Clientside) getUpgradeName( upgradeid ) - Returns a string or bool Events: - onVehicleFinishedModding * Parameters: table mods, table colors, int paintjob, int price * source: The source of the event is the vehicle that finished modding How to install: Unzip the resource and upload it to the server, start it, and enjoy! How can I edit the prices, names or add modshops?: NOTE: This requires some scripting knowledge! If you want to edit the prices, names or some other settings check the 'client.lua' file. New modshops can be added in 'server.lua', there's a table wich contains the positions. Download: https://community.multitheftauto.com/index.php?p= ... ls&id=7001 THIS IS VERSION 1! IF YOU SEE ANY BUGS PLEASE REPORT THEM, I WILL FIX THEM ASAP! Edited April 28, 2013 by Guest
DennisUni Posted April 27, 2013 Author Posted April 27, 2013 Wups, forgot to add it! It's on the community, here's the link: https://community.multitheftauto.com/index.php?p= ... ls&id=7001
DennisUni Posted April 27, 2013 Author Posted April 27, 2013 Thanks! If there's anything I should add or change please let me know!
Mossy Posted April 27, 2013 Posted April 27, 2013 Wow this is amazing! Tested it and everything looks very good. Keep up the good work.
Castillo Posted April 27, 2013 Posted April 27, 2013 Looks nice, good work . San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
xXMADEXx Posted April 27, 2013 Posted April 27, 2013 Nice job, keep up the excellent work! The Ultimate Lua Tutorial! | MTA PHP SDK
Raahim Posted April 28, 2013 Posted April 28, 2013 Good work, Dennis! Join the Network of Entertainment and Gaming Join No Bullsh*t Gaming (Replace the '*' with an 'i') 8x 16 Slot servers for free! gta-servers.net giveaway! Sane Hosting - Reliable & Cheap Game Servers and Reseller Package
MIKI785 Posted April 28, 2013 Posted April 28, 2013 Good job, you should keep that up. Lua Scripter Owner of mshost.cz MTA portal.
Turky1 Posted April 28, 2013 Posted April 28, 2013 Tested it looks great works fine. Join Server now Version 2.0 Coming soon. A proud stuff member of chaos.de.to (ingsoc.biz)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now