DennisUni Posted April 27, 2013 Share 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 Link to comment
iPrestege Posted April 27, 2013 Share Posted April 27, 2013 Looks Great !! But where's the download link? Link to comment
DennisUni Posted April 27, 2013 Author Share 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 Link to comment
DennisUni Posted April 27, 2013 Author Share Posted April 27, 2013 Thanks! If there's anything I should add or change please let me know! Link to comment
Mossy Posted April 27, 2013 Share Posted April 27, 2013 Wow this is amazing! Tested it and everything looks very good. Keep up the good work. Link to comment
xXMADEXx Posted April 27, 2013 Share Posted April 27, 2013 Nice job, keep up the excellent work! Link to comment
MIKI785 Posted April 28, 2013 Share Posted April 28, 2013 Good job, you should keep that up. Link to comment
Turky1 Posted April 28, 2013 Share Posted April 28, 2013 Tested it looks great works fine. Link to comment
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