Home
Home
Register
Login

Resources
Forum






rssMod Shop (modshop)

Category:script
Author(s):50p
Downloads:15729
Rate:You need to be logged in to vote
Rating:3.8 (72 Votes)
Description:
Upgrade you vehicles like in Single Player!

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 you player modifies his vehicle (might be a bit buggy)
- parameters: ( upgrades, colors, paintjob, shopName )
- source: the vehicle that's 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. http://www.youtube.com/watch?v=47P6hhRj1Yg

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)

Forum link: http://forum.mtasa.com/viewtopic.php?f=91&t=22911
...

(more)

Comments (7) | Download latest version | Report

Version history

Version Publish Date Changes
1.5.0 2009-09-21 02:27:01 * fixed: works with MTA 1.0 Download
1.4.3 2008-09-17 02:23:26 *removed: debug messages and a command to check colors server-side (it also gives money!) Download this version if you don't want your players to get money "illegally"! Download
1.4.2 2008-09-17 02:07:22 *fixed: an issue with colors not being changed on server-side Download
1.4.1 2008-06-08 13:29:18 * 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) Download
1.4.0 2008-05-30 13:01:28 * SERIOUS BUG fixed: bug not allowing you to leave shop when you pressed exit and had not enough money, even after items were uninstalled! Download
1.3.1 2008-05-29 22:59:20 * the help file could not be read because of & (amp sign) Download
1.3.0 2008-05-29 22:15:00 First public release Download