An open API service indexing awesome lists of open source software.

https://github.com/viral32111/car-keys

Adds a Car Keys SWEP to Garry's Mod which lets players lock, unlock, buy and sell vehicles.
https://github.com/viral32111/car-keys

addon buy-vehicles car car-keys darkrp game garrysmod lua player sell-vehicles steam vehicle workshop

Last synced: 20 days ago
JSON representation

Adds a Car Keys SWEP to Garry's Mod which lets players lock, unlock, buy and sell vehicles.

Awesome Lists containing this project

README

        

# Car Keys

**Project started: 15/02/2017, Last updated: 21/02/2020**

This adds a Car Keys SWEP to Garry's Mod which lets players lock, unlock, buy and sell vehicles.

If you own the vehicle you have the ability to lock it, unlock it, drive it, sell it and pick it up with your physgun. (Admins on the server still have the ablity to pickup anyones car.)

If you've bought a car and your game crashes or you leave a server, the vehicle will still be yours when you join again as long as the server doesn't restart or have prop removal on disconnect.

If you're running DarkRP with this then you'll be able to utilise the buying, selling and set price chat command. (`!setprice `)

__Currently compatible with:__ *(Should work with almost every car in the game, if it doesn't though contact me and i'll try add support)*
* Any vehicle that is based on `prop_vehicle_jeep`, `prop_vehicle_jeep_old`, `prop_vehicle_airboat` and `prop_vehicle_prisoner_pod`.
* [TDMCars](https://steamcommunity.com/sharedfiles/filedetails/?id=140550510)
* [LoneWolfie Cars](https://steamcommunity.com/workshop/filedetails/?id=221591331)
* [SCars](https://steamcommunity.com/workshop/filedetails/?id=149640069)
* [[simfphys] LUA Vehicles - Base](https://steamcommunity.com/sharedfiles/filedetails/?id=771487490)
* [[LFS] - Planes](https://steamcommunity.com/sharedfiles/filedetails/?id=1571918906)
* [Star Wars Vehicles: Episode 1](https://steamcommunity.com/sharedfiles/filedetails/?id=495762961)
* [Star Wars Vehicles: Episode 2](https://steamcommunity.com/sharedfiles/filedetails/?id=608632308)
* [WAC Aircraft](https://steamcommunity.com/sharedfiles/filedetails/?id=199107624) *(Except Halo, RoflCopter & MH-X Stealthhawk)*
* [[LFS] Jedi Starfighters](https://steamcommunity.com/sharedfiles/filedetails/?id=1580175017)
* [SW Vehicles : TIE Fighters [LFS]](https://steamcommunity.com/sharedfiles/filedetails/?id=1580978413)

Credit goes to [Morretz](http://steamcommunity.com/profiles/76561198204059269) for creating the [key model](https://steamcommunity.com/sharedfiles/filedetails/?id=704317952), he graciously let me use it in this addon. The original texture was edited by me however.

[Workshop Version](https://steamcommunity.com/sharedfiles/filedetails/?id=864523561)

## Copyright License

This addon is licensed under the [GNU General Public Licence v3.0](https://choosealicense.com/licenses/gpl-3.0/) (GNU GPLv3).

Permissions:

* Commercial use - This software and derivatives may be used for commercial purposes.
* Distribution - This software may be distributed.
* Modification - This software may be modified.
* Patent use - This license provides an express grant of patent rights from contributors.
* Private use - This software may be used and modified in private.

Conditions:

* Disclose source - Source code must be made available when the software is distributed.
* License and copyright notice - A copy of the license and copyright notice must be included with the software.
* Same license - Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used.
* State changes - Changes made to the code must be documented.

Limitations:

* Liability - This license includes a limitation of liability.
* Warranty - The license explicitly states that it does NOT provide any warranty.

>Car Keys - A SWEP that lets players lock, unlock, buy and sell vehicles.
>
>Copyright (C) 2017 - 2022 viral32111 (https://viral32111.com).
>
>This program is free software: you can redistribute it and/or modify
>it under the terms of the GNU General Public License as published by
>the Free Software Foundation, either version 3 of the License, or
>(at your option) any later version.
>
>This program is distributed in the hope that it will be useful,
>but WITHOUT ANY WARRANTY; without even the implied warranty of
>MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
>GNU General Public License for more details.
>
>You should have received a copy of the GNU General Public License
>along with this program. If not, see https://www.gnu.org/licenses/.