15 lines
384 B
ReStructuredText
Raw Normal View History

getServerMaxMoney() Netscript Function
======================================
2021-03-12 02:51:56 -05:00
.. js:function:: getServerMaxMoney(hostname)
:RAM cost: 0.1 GB
2021-03-12 02:51:56 -05:00
:param string hostname: Hostname of target server.
:returns: Maximum amount of money that can be available on a server.
2021-03-12 02:51:56 -05:00
Example:
.. code-block:: javascript
getServerMaxMoney('foodnstuff'); // returns: 50000000