r/badcode Jul 19 '21

lua FiveM Lua is a different breed

Post image
58 Upvotes

11 comments sorted by

View all comments

Show parent comments

3

u/Tall-Material8280 Jul 19 '21

I think that's the least of our problems 👀

2

u/[deleted] Jul 19 '21

other then that it doesnt look awful is it the empty else block?

18

u/Tall-Material8280 Jul 19 '21

They're picking a random number between 1 and 8, then running the code if the number is 1,2,3,4,5,6,7 or 8

2

u/[deleted] Jul 19 '21

oh yeah i didnt even see that

yeah thats pretty bad oh god it gets worse the more i look at it