50p Posted May 30, 2008 Share Posted May 30, 2008 (edited) Mod Shop (tuning shop) v1.5 Description: I think it's the most awaited script by most freeroam and some RP-like servers! As its name says it is a tuning shop resource. As you probably know, tuning shops are not synched in MTA, therefore you can't modify cars just like in Single Player (SP). Here is the "saviour" who allows you to do that. You can "pimp your ride" as if you were in SP, well almost. Currently there is only one garage in each city. Features for players: * upgrading vehicles in any mod shops in SA (3 shops currently, one in each city) * animated GUI windows * camera rotating around your car while upgrading * you can upgrade any vehicle in any shop Features for scripters: * scripters have the following abilities: - functions: o getItemPrice( modid ) - returns specific item's (upgrade id) price, false otherwise o getItemName( modid ) - returns specific item's (upgrade id) name, false otherwise o getItemIDFromName( upgradename ) - returns upgrade id of the specific upgrade item's name, false otherwise (it may be a buggy function) o getVehicleModShop( vehicle ) - returns shop's marker that vehicle is currently being modified, false otherwise o isVehicleInModShop( vehicle ) - return true if vehicle is currently being modified, false otherwise o getVehicleTuner(vehicle ) - returns player element that is currently upgrading specified vehicle, false otherwise - events: o onVehicleMod - triggered when player modifies his vehicle (might be a bit buggy) - parameters: ( upgrades, colors, paintjob, shopName ) - source: the vehicle that has been upgraded (Note: these function names may not be easy to understand because of "Item" in them) Little showoff video: A bit outdated, all known bugs were fixed. Installation: Just paste the modshop.zip into your server's resources subfolder, refresh your resources (if server is running) and start the resource or start the server (if it's not running) Download link: https://community.multitheftauto.com/index.php?p= ... ils&id=169 Changelog: 1.3.1* the help file could not be read because of & (amp sign) 1.4 * SERIOUS BUG fixed: bug not allowing you to leave shop when you pressed exit and had not enough money, even after items were uninstalled! * added tune icon when the marker streams in 1.4.1 * fixed: vehicle get unfrozen when player in shop quits server... * added: time limit to say in tune shop is 3 minutes, you can change it in server.lua (line 27) 1.5 * fixed: works with MTA 1.0 Edited September 21, 2009 by Guest 1 Link to comment
50p Posted May 30, 2008 Author Share Posted May 30, 2008 Thank you. Don't forget to report any bug you find! I'd appreciate that. Link to comment
Simbad de Zeeman Posted May 30, 2008 Share Posted May 30, 2008 Nice resource, how about placing some radar icons for on the map? ID 27 (tuning blip) Link to comment
50p Posted May 30, 2008 Author Share Posted May 30, 2008 Nice resource, how about placing some radar icons for on the map? ID 27 (tuning blip) Added in 1.4. NOTE: I Recommend you to download the new 1.4 because in 1.3 was a serious bug related to money message! Link to comment
Guest Posted May 30, 2008 Share Posted May 30, 2008 Could you please remove hydraulics from monster as option. if you give a monster truck hydraulics it shoots to the ground and slides away lol. While it is funny I can see lots of issues spawning from that one thing. Link to comment
Evilman926 Posted May 31, 2008 Share Posted May 31, 2008 Sweet Script Keep Up The Good Work Link to comment
[DooD]Heavyair Posted May 31, 2008 Share Posted May 31, 2008 very nicely done script Thanx a lot Link to comment
[TTH]BiZkiT Posted June 2, 2008 Share Posted June 2, 2008 found 1 "bug" not major though:P If i swich classes in spawnmenu a big red icon apears in the middle of my screen also on some places in game you see it. But i like the script very much nice job on the menus "the pupupmenu" looks nice Link to comment
paragon Posted June 3, 2008 Share Posted June 3, 2008 Great job, _50p. And indeed, it is a must have! Link to comment
50p Posted June 3, 2008 Author Share Posted June 3, 2008 found 1 "bug" not major though:PIf i swich classes in spawnmenu a big red icon apears in the middle of my screen also on some places in game you see it. But i like the script very much nice job on the menus "the pupupmenu" looks nice That's because the script creates mod shop icon when a shop marker gets streamed in. Unfortunately creating blips looks like that. Thanks for using script. Someone doesn't seem to like it (or is jealous)... Link to comment
Winky Posted June 3, 2008 Share Posted June 3, 2008 found 1 "bug" not major though:PIf i swich classes in spawnmenu a big red icon apears in the middle of my screen also on some places in game you see it. But i like the script very much nice job on the menus "the pupupmenu" looks nice That's because the script creates mod shop icon when a shop marker gets streamed in. Unfortunately creating blips looks like that. Thanks for using script. Someone doesn't seem to like it (or is jealous)... Try to use a timer, for that blip issue Link to comment
50p Posted June 3, 2008 Author Share Posted June 3, 2008 found 1 "bug" not major though:PIf i swich classes in spawnmenu a big red icon apears in the middle of my screen also on some places in game you see it. But i like the script very much nice job on the menus "the pupupmenu" looks nice That's because the script creates mod shop icon when a shop marker gets streamed in. Unfortunately creating blips looks like that. Thanks for using script. Someone doesn't seem to like it (or is jealous)... Try to use a timer, for that blip issue Timers for what? Creating blips looks like that. I don't show/hide blips because they are buggy in dp2. EDIT: Updated to 1.4.1 Link to comment
xbenny2506x Posted August 1, 2009 Share Posted August 1, 2009 Very nice Script! I like it!!! But when i want tune my remington i can see ony ~10% of the misc button. Link to comment
50p Posted August 1, 2009 Author Share Posted August 1, 2009 Does it happen to Remington only? Link to comment
xbenny2506x Posted August 25, 2009 Share Posted August 25, 2009 I have the problem only with the Remington. In MTA 1.0 the Wheel Arch Angels Garage Doors goes not up or down. Can you fix that plz THX Link to comment
50p Posted August 25, 2009 Author Share Posted August 25, 2009 I have the problem only with the Remington.In MTA 1.0 the Wheel Arch Angels Garage Doors goes not up or down. Can you fix that plz THX This was made ages ago for DP2.x. In the old days, garages were opened. I was planning to rewrite this for 1.0 with all garages that were used in SP but I'm busy with the Script Editor now. You can fix it yourself, just open file server.lua and add this: addEventHandler( "onResourceStart", getResourceRootElement( getThisResource() ), function( ) setGarageOpen( 15, true ); -- open Wheel Archangels when resource starts end ) Link to comment
xbenny2506x Posted August 26, 2009 Share Posted August 26, 2009 THX now the garage is open but when i click on "exit" in the menu, i can see the menu all the time when i am out of the tuning garage. Link to comment
50p Posted August 26, 2009 Author Share Posted August 26, 2009 THX now the garage is open but when i click on "exit" in the menu, i can see the menu all the time when i am out of the tuning garage. Sorry, but I can't dig deeper. If you don't want any animations like fading out the window you should find the GUI variables and use guiSetVisible() to hide it. I can't help you with this now... As I said, I'm busy with Script Editor. Link to comment
50p Posted September 21, 2009 Author Share Posted September 21, 2009 OK, bump! It should now work with MTA 1.0. Link to comment
xbenny2506x Posted September 21, 2009 Share Posted September 21, 2009 Nice work! Now work the Mod Shop in MTA 1.0! BIG THX!!!!! Link to comment
Simbad de Zeeman Posted September 22, 2009 Share Posted September 22, 2009 Good job 50p, very much thanks! Link to comment
robhol Posted December 27, 2009 Share Posted December 27, 2009 The most recent version still has a lot of compatibility/deprecation warnings. 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