• car skin
    6 replies, posted
hey i want to have a car that has skin already changed on it like this but i dont no wat to do [code] local V = { // Required information Name = "Corvette C6 white", Class = "prop_vehicle_jeep", Category = Category, // Optional information Author = "Athos", Information = "Corvette C6 white", Model = "models/corvette/corvette.mdl", KeyValues = { vehiclescript = "scripts/vehicles/corvette.txt" } } list.Set( "Vehicles", "Corvette C6 white", V ) [/code] should i use [code] Entity:SetSkin() [/code] also i dont want to use the skins switcher tool XD [editline]07:29PM[/editline] [editline]07:31PM[/editline] anyone know?
[lua] local V = { // Required information Name = "Corvette C6 white", Class = "prop_vehicle_jeep", Category = Category, // Optional information Author = "Athos", Information = "Corvette C6 white", Model = "models/corvette/corvette.mdl", KeyValues = { vehiclescript = "scripts/vehicles/corvette.txt" Skin = 1 } } list.Set( "Vehicles", "Corvette C6 white", V ) [/lua] Change the the number after 'Skin = ' to the number of the skin.(If you dont know the number, experiment :P)
[QUOTE=Saint Devil;17056481][lua] local V = { // Required information Name = "Corvette C6 white", Class = "prop_vehicle_jeep", Category = Category, // Optional information Author = "Athos", Information = "Corvette C6 white", Model = "models/corvette/corvette.mdl", KeyValues = { vehiclescript = "scripts/vehicles/corvette.txt" Skin = 1 } } list.Set( "Vehicles", "Corvette C6 white", V ) [/lua] Change the the number after 'Skin = ' to the number of the skin.(If you dont know the number, experiment :P)[/QUOTE] yes i know that but were shall i add the ent:SetSkin(1)??
Its already set to skin 1
autorun/MWVehicles.lua:37: '}' expected (to close '{' at line 35) near 'Skin' also its defult skin is 0
Paste your code, and i set the skin to 1. 'Skin = 1'
-snip-
Sorry, you need to Log In to post a reply to this thread.