Author Topic: Put a random icon on the screen.  (Read 7630 times)

iOtero

  • Sr. Member
  • ****
  • Posts: 414
    • View Profile
Re: Put a random icon on the screen.
« Reply #15 on: July 31, 2018, 05:02:58 PM »
Another thing, keilmillerjr...

This line of code

Code: [Select]
local film = fe.add_image("posters/films/" + films[randInt(films.len())] + ".png", 0, 0, 0, 0);

has a small error.

This would be the correct

Code: [Select]
local film = fe.add_image("posters/films/" + films[randInt(films.len()-1)] + ".png", 0, 0, 0, 0);

Nacer a los 15 años Una novela de iOtero