Allows to get the VCMod feature state info table.
Used in: VCMod Main, VCMod ELS addons.
Shared Entity Vehicle:VC_getStates()
1. Table A table with VCMod feature state data.
concommand.Add("VC_SetStates_Test", function(ply)
if !IsValid(ply) then print("Only for players.") return end
local ent = ply:GetVehicle()
if IsValid(ent) then
local states = ent:VC_getStates()
states.HornOn = true
ent:VC_setStates(states)
print("Altering vehicles states.")
else
print("Invalid entity.")
end
end)