Passer au contenu principal

Documentation Index

Fetch the complete documentation index at: https://docs.dotouch-emu.com/llms.txt

Use this file to discover all available pages before exploring further.

Génère un entier aléatoire entre min et max (inclus).

🎮 Méthode

random(min, max)

📝 Arguments

NomTypeDescription
minintValeur minimale (incluse).
maxintValeur maximale (incluse).

💎 Valeur de retour

TypeDescription
intEntier aléatoire entre min et max.

💡 Exemple

local r = random(1, 10)