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 <amount>
)
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
andprop_vehicle_prisoner_pod
. - TDMCars
- LoneWolfie Cars
- SCars
- [simfphys] LUA Vehicles - Base
- [LFS] - Planes
- Star Wars Vehicles: Episode 1
- Star Wars Vehicles: Episode 2
- WAC Aircraft (Except Halo, RoflCopter & MH-X Stealthhawk)
- [LFS] Jedi Starfighters
- SW Vehicles : TIE Fighters [LFS]
Credit goes to Morretz for creating the key model, he graciously let me use it in this addon. The original texture was edited by me however.
This addon is licensed under the GNU General Public Licence v3.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/.