Aller au contenu principal

GetWarehouseRevenue

attention

Cette exportation est uniquement disponible pour le serveur !

Syntaxe d'exportation
exports['dream_cryptomining']:GetWarehouseRevenue(IdEntrepôt) -- Renvoie un entier

Paramètre

  1. IdEntrepôt (String) -> L'identifiant de l'entrepôt. Voir Getallwarehouses.md
Exemple d'exportation
local RevenuEntrepôt = exports['dream_cryptomining']:GetWarehouseRevenue("IDENTIFIANTENTREPÔT")
print(RevenuEntrepôt) -- 💸 Affiche le revenu actuel de l'entrepôt XY