RedM Natives

SET_PED_MONEY

Hash0xA9C8960E8684C1B5
Runtime nameSetPedMoney
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xA9C8960E8684C1B5

Signature

void SET_PED_MONEY(Ped ped, int amount);

Parameters

NameTypeDescription
pedPed—
amountint—

Returns void

Usage

Lua
SetPedMoney(ped, amount)

-- always works, by hash
Citizen.InvokeNative(0xA9C8960E8684C1B5, ped, amount)
JavaScript and C#
JavaScript
SetPedMoney(ped, amount);

// by hash
Citizen.invokeNative('0xA9C8960E8684C1B5', ped, amount);
C#
Function.Call((Hash)0xA9C8960E8684C1B5, ped, amount);

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.