networkSpendSetDiscount
NETWORK_SPEND_SET_DISCOUNT0x7E2F4E8F44CAF4E0The GTA V native NETWORK_SPEND_SET_DISCOUNT of the MONEY namespace, as LS:MP client scripts call it: the global function networkSpendSetDiscount, in JavaScript and in Lua.
networkSpendSetDiscount(p0: boolean): voidnetworkSpendSetDiscount(p0: boolean)✕
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_SET_DISCOUNT(BOOL p0)- Hash
0x7E2F4E8F44CAF4E0- Introduced
- Game build 2699 legacy numbering
- Formerly
_NETWORK_SPENT_SALES_DISPLAY