Files
ox_lib/imports/callback/server.lua
Linden f0009f0bc8 refactor(callback): assertions
Both client and server callbacks will check if "cb" is a function, to
reduce the number of people using callbacks as a replacement for
events.

Server->client callbacks will now check if the target playerId exists,
as people apparently use it for unintended values (i.e. -1).
2024-05-22 16:36:22 +10:00

2.8 KiB