[Command] getSalary

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 »

getSalary()


USE:
Get the current salary into a float variable.


TYPE: Command, Non-Ref
RETURNS: Float
THEME: Job, Money
COMPARE: setSalary, convertToLocalCurrency


EXAMPLE

Code: Select all

    Salary = getSalary()
    Salary *= 1.2
    Salary.setRent()
    "Yay, my salary 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