diff --git a/README.md b/README.md index 1a5b9d7..9a936d9 100644 --- a/README.md +++ b/README.md @@ -64,8 +64,7 @@ Go to gks-phone > server > serverapi.lua - Add these lines: ```lua - local data = { society = id.society, amount = amount } - TriggerServerEvent('jim-payments:Tickets:Give', data) +TriggerEvent('jim-payments:Tickets:Give', { senderCitizenId = id.sendercitizenid, society = id.society, amount = amount }) ``` --------------