O seu código está correto, Gaimo. Tenha certeza de que está utilizando o nome corretamente (no caso, acho que seller seria o jogador).
Exemplo abaixo é apenas uma brincadeira que eu fiz pra você entender. Quando você digita /desafio, um timer é iniciado. Dentro de 15 segundos você deve entrar em um veículo. Quando entrar, o timer deve ser parado e anulado.
local tempTimers = {}
addCommandHandler("desafio", function(player)
if not tempTimers[player] then
outputChatBox("Você tem 15 segundos para entrar num veículo!", player, 0, 255, 0)
tempTimers[player] = setTimer(function(p)
outputChatBox("O tempo acabou.", p, 255, 255, 0)
tempTimers[p] = nil
end, 15 * 1000, 1, player)
end
end)
addEventHandler("onVehicleEnter", root, function(thePlayer, seat)
if seat == 0 then
if tempTimers[thePlayer] and isTimer(tempTimers[thePlayer]) then
killTimer(tempTimers[thePlayer])
tempTimers[thePlayer] = nil
end
outputChatBox("Muito bem! Você entrou no veículo em tempo.", thePlayer, 255, 0, 0)
end
end)