I don't know if it's this what you want:
local sampev = require 'lib.samp.events'
local counter = 0
function main()
while not isSampAvailable() do wait(0) end
family = {"vv","vv","vv"}
for k,v in pairs(family) do
if v == "vv" then -- If family = vv then...