I need a little help with some lua code. The idea is to get a random number 0-18 but it cannot be number 8 or 16. How can I do this?
self.currentSkyTexture = math.random(0,18)
-- not 8 or 16... how?
Aucun commentaire:
Enregistrer un commentaire