* This functions returns the money which can be used to execute a command. * This is either the money of the current company, or INT64_MAX if infinite money * is enabled or there is no such a company "at the moment" like the server itself. * * @return The available money of the current company or INT64_MAX */
| 250 | * @return The available money of the current company or INT64_MAX |
| 251 | */ |
| 252 | Money GetAvailableMoneyForCommand() |
| 253 | { |
| 254 | return GetAvailableMoney(_current_company); |
| 255 | } |
| 256 | |
| 257 | /** |
| 258 | * Verify whether the company can pay the bill. |
no test coverage detected