MoneyClientBlocked

networkSpendApartmentUtilities

NETWORK_SPEND_APARTMENT_UTILITIES0x1254B5B3925EFD3D

The GTA V native NETWORK_SPEND_APARTMENT_UTILITIES of the MONEY namespace, as LS:MP client scripts call it: the global function networkSpendApartmentUtilities, in JavaScript and in Lua.

SignatureJavaScript
networkSpendApartmentUtilities(
  amount: number,
  p1: boolean,
  p2: boolean,
  data: null
): void
SignatureLua
networkSpendApartmentUtilities(
  amount: integer,
  p1: boolean,
  p2: boolean,
  data: nil
)
✕
Blocked for scripts: Rockstar accounts and commerce

Resources do not touch Rockstar accounts, Social Club data, GTA$ or the game's online shops. Keep your own economy and profiles on your server, with storage.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Money MONEY
In the game
void NETWORK_SPEND_APARTMENT_UTILITIES(int amount, BOOL p1, BOOL p2, Any* data)
Hash
0x1254B5B3925EFD3D
Introduced
Game build 2545 legacy numbering
Formerly
_NETWORK_SPENT_AGGREGATED_UTILITY_BILLS

Open in the interactive natives reference