[Command] getRent

Post Reply
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post by Raddeck »

getRent()


USE:
Get the current rent into a float variable.


TYPE: Command, Non-Ref
RETURNS: Float
THEME: Housing, Money
COMPARE: setRent, convertToLocalCurrency


EXAMPLE

Code: Select all

    Rent = getRent()
    Rent *= 1.2
    Rent.setRent()
    "Damn, the rent was increased by 20%."
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
Post Reply