• WARNING: Vehicle FAILURE IN CUSTOM VEHICLE! Error
    2 replies, posted
Hello. I'm working on a custom version of DarkRP When ever I try making it so a Car dealer is able to spawn a car I get this, [CODE]WARNING: Vehicle FAILURE IN CUSTOM VEHICLE! The name, model or the price is invalid/missing[/CODE] My code for the addentities.lua is this, [CODE]AddCustomVehicle("Vehicle", { ent = "Jeep", model = "models/buggy.mdl", price = 5000, max = 2, cmd = "/vehicle", allowed = {TEAM_CAR} })[/CODE] Any idea what I did wrong? I dont get why it doesn't work :s Edit: Anyone?
Just a simple typo. "AddCustomVehicle("Vehicle") It sucks that you were searching for 3 hours trying to fix it though. :v:
EDIT: Nevermind I have no clue what I did wrong all my other entities have no closing ) and they work fine D:
Sorry, you need to Log In to post a reply to this thread.