• I don't have the keys of cars
    8 replies, posted
Hello, I have a problem, I use the VcMod addon and the gamemode nutscript, I can buy and sell a car it works But when I spawn the car, I'm not the key, the car belongs to world, I can not close it and open it Can you help me ? PS: When I spawn the car through the Q menu, it belongs to me I tested the garage plugin provided with nutscript and it does not work   I'm sorry for my english mistake , i'm french
You should contact the authors of those mods
I did it, but nutscript support is really bad ... One person had the same problem as me and the author told him that it was not a problem coming from the mod ...
Then theres probably another addon that is creating conflicts with VcMod. One way that can solve this issue is by uninstalling addon after addon until VcMod works propperly?. Or just wait until nutscript support replies to you and let them fix it for you.
Hello thank you for your reply A by VcMod and Ulx I have no other addon ... but I have nutscript plugins that come with I'm waiting for the answer from nutscript support But their site is down since yesterday
nutscript is conflicting with vcmod vcmod comes with its keys and full setup, car dealers,repair npc and fuel stations, it needs nothing else to operate. I have found even trying to add another type of car dealer difficult but with editing possible (sometimes extreme editing) , but with addons like vcmod whom use a check on gmod secure you will not want to edit vcmod in case for future updates and every login does check. It's most likely the nutscript mod, remove it and try the cars, it will work no problem.
x Hello, I created a little script for the moment to solve this problem I hope that Vcmod will support nutscript later hook.Add("VC_CarDealerSpawnedVehicle", "CustomHookName", function(ply, ent) VName = ent:GetClass() ent.Owner = ply:GetName() end) concommand.Add( "lock", function( ply, client ) local tr = ply:GetEyeTrace() if ( IsValid( tr.Entity ) ) then ent = tr.Entity if ent.Owner == ply:GetName() then  if ent:VC_IsLocked() then ent:VC_UnLock() ply:ChatPrint( "Votre voiture a été verrouillé:") else ent:VC_Lock() ply:ChatPrint( "Votre voiture a été déverrouillé:") end else ply:ChatPrint( "Vous n'avez pas la clée") end end end ) hook.Add( "KeyPress", "keypress_jump_super", function( ply, key ) if ( key == IN_ATTACK ) then if ply:HasWeapon("nut_key") then ply:RunConsoleCommand("lock") end end end )
looks promising i'm sure the owner of vcmod would be willing to update his tool for this if the conflict if valid and this easy to solve, perhaps write to him? heres his steam: https://steamcommunity.com/id/freemmaann/ heres his gmodstore profile as well: https://www.gmodstore.com/scripts/view/21/vcmod-main-lights-seats-damage-exhaust- He responds very fast to support tickets, good dev. Go to him and explain in detail your situation. If this is a common problem, perhaps he will add the hook fix or however he wishes to handle it. But he is a good developer for sure.
I will contact him Thank you I did not even thought
Sorry, you need to Log In to post a reply to this thread.