Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssvehicle modshop (vehicle modshop)

Category:script
Author(s):UniOnDennis
Downloads:6004
Rate:You need to be logged in to vote
Rating:3.7 (20 Votes)
Description:
NOTE: THIS IS VERSION 1! IF YOU SEE ANY BUGS PLEASE REPORT THEM, I WILL FIX THEM ASAP!

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 cuntish 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 )
- (Serverside) isPlayerModding( player )
- (Clientside) getUpgradePrice( upgradeid )
- (Clientside) getUpgradeName( upgradeid )

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.
...

(more)

Download latest version | Report

Version history

Version Publish Date Changes
1.0.2 2013-04-29 22:58:58 * Bug fixed regarding nitro Download
1.0.1 2013-04-28 16:10:31 * Minor fixes
* Added a sound when applying a upgrade
Download
1.0.0 2013-04-27 20:51:15 First public release Download