Skip to content

Instantly share code, notes, and snippets.

@cm8263
Created September 9, 2019 05:07
Show Gist options
  • Save cm8263/c8255186818e4a6edae541bde39b9b39 to your computer and use it in GitHub Desktop.
Save cm8263/c8255186818e4a6edae541bde39b9b39 to your computer and use it in GitHub Desktop.
-- Return from whitelist check
RegisterNetEvent("Whitelist:Return:WhitelistCheck")
AddEventHandler("Whitelist:Return:WhitelistCheck", function(NewWhitelist)
-- Update local whitelist values with server ones
Whitelist = NewWhitelist
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment