Simple loop problem

Hi,

RegisterServerEvent(‘es_carshop:buyCar’)

AddEventHandler(‘es_carshop:buyCar’, function(data)

TriggerEvent(‘es:getPlayerFromId’, source, function(user)

–This fails and if I do Print(user.vehicles) I get “adder, vacca” So why wont it loop…
for k,v in ipairs(user.vehicles)do

end

end)