Outputs all the available seats. This does not return all of the seats associated with the vehicle. Only the ones that are allowed to be used at the moment (example: if the bodygroups allow it).
Does not matter there are players inside the seats.
Used in: VCMod Main addon.
Server Entity Vehicle:VC_getSeatsAvailable()
1. Table List of available passenger seats.
concommand.Add("VC_getSeatsAvailable", function() local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity if IsValid(ent) then print("Vehicle "..ent:VC_getName().." has "..table.Count(ent:VC_getSeatsAvailable()).." useable seats.") else print("Invalid entity.") end end)