How to make SCars an ownable entity similar to vehicles in DarkRP?
4 replies, posted
Hey guys! I've been steady working on a server for a few weeks now trying to get it the best as I possibly can. I was using TDM Cars but the download got too big so I have to resort to a different, smaller vehicle mod. One that fits the bill quite well and brings in plenty of new features is Sakarias' SCars mod. Right now I only have SCars Slim installed on the server. I have an AddEntity that looks like this and works fine:
[lua]
AddEntity("SCar", {
ent = "sent_sakarias_car_junker1",
model = "models/props_vehicles/car002b.mdl",
price = 50,
max = 5000,
cmd = "/buyjunker1",
allowed = {TEAM_CARDEALER}
})
[/lua]
Problem one being that it is owned by the world, meaning no tools can be used to tweak it. Problem two being that it cannot be owned by someone, thus making it impossible to be locked or unlocked. I was hoping to find a solution that would allow the SCars to be bought and sold (given and taken ownership) to other players like normal vehicles found in rp_getvehicles would. I did spend a good amount of time searching for anything regarding DarkRP and SCars to see if I could find something that could help my situation. Unfortunately no results have given a definitive answer, so I am posting here where hopefully you guys can provide some aid. Thanks!
Bump. Really need some help here!
Will be possible once Sakarias finds a way to upload his fix to the workshop.
Oh okay! So he's already got that figured out, just not quite uploaded? Thanks for the info.
Any updates on this?
Sorry, you need to Log In to post a reply to this thread.