mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-16 09:43:56 +00:00
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).