Closed Misha0717 closed 11 months ago
I think we need to remove this snippet of code since we are no longer using the log
function client side
---@param data { type: 'success' | 'error', message: string }
function log(data)
local type = data.type
local message = data.message
local logData = {
type = type,
message = message,
postalJobState = (type == 'error') and postalJobState or nil,
}
TriggerServerEvent('dream-postal:server:log', logData)
end
yeah you are right on all the changes 😂 I created a commit to fix all these things. 👌
Code looks amazing
Now I just need to run this on my server double check all functionally works and I'll merge your pr ✨
<3
Removed all the client sided 'discord logs' logic and also created server sided checks on cheaters instead client sided.