File tree Expand file tree Collapse file tree 1 file changed +63
-1
lines changed Expand file tree Collapse file tree 1 file changed +63
-1
lines changed Original file line number Diff line number Diff line change @@ -100,4 +100,66 @@ Before a `OxVehicle` gets despawned.
100
100
101
101
``` lua
102
102
function (entityId : number , id : number )
103
- ```
103
+ ```
104
+
105
+ ## ox:updatedBalance
106
+
107
+ When an account's balance is updated.
108
+
109
+ ``` lua
110
+ function (data : object )
111
+ ```
112
+ * data ` object `
113
+ * accountId: ` number `
114
+ * amount: ` number `
115
+ * action: ` 'add' | 'remove' `
116
+
117
+
118
+ ## ox:transferredMoney
119
+
120
+ When an account's money is transferred.
121
+
122
+ ``` lua
123
+ function (data : object )
124
+ ```
125
+ * data ` object `
126
+ * fromAccountId: ` number `
127
+ * toAccountId: ` number `
128
+ * amount: ` number `
129
+
130
+ ## ox:depositedMoney
131
+
132
+ When money is deposited into an account.
133
+
134
+ ``` lua
135
+ function (data : object )
136
+ ```
137
+ * data ` object `
138
+ * playerId: ` number `
139
+ * accountId: ` number `
140
+ * amount: ` number `
141
+
142
+ ## ox:withdrewMoney
143
+
144
+ When money is withdrawn from an account.
145
+
146
+ ``` lua
147
+ function (data : object )
148
+ ```
149
+ * data ` object `
150
+ * playerId: ` number `
151
+ * accountId: ` number `
152
+ * amount: ` number `
153
+
154
+ ## ox:invoicePaid
155
+
156
+ When an invoice is paid.
157
+
158
+ ``` lua
159
+ function (data : object )
160
+ ```
161
+ * data ` object `
162
+ * amount: ` number `
163
+ * payerId: ` number `
164
+ * fromAccount: ` number `
165
+ * toAccount: ` number `
You can’t perform that action at this time.
0 commit comments