[PAID] Easy Discord Logs

A script by hichay

No reviews yet.
[PAID] Easy Discord Logs main image

Price

$10.00

Full Description

Features:

  • Easy to add new logs from config
  • Easy to translate (config)
  • Inclued Kill Log
  • Inclued login and logout

Example:

AddEventHandler('esx:useItem', function(itemName)
 local xPlayer = ESX.GetPlayerFromId(source)
 local count = xPlayer.getInventoryItem(itemName).count
 if count > 0 then
 ESX.UseItem(source, itemName)
 local MessageSendtoDiscord = 'Player ' .. xPlayer.name .. ' Use ' ..count..' '.. ESX.GetItemLabel(itemName) .. ' '
 TriggerEvent('moon_discordlogs:sendToDiscord', 'WebhookUseItem', MessageSendtoDiscord, source, '^5')
 else
 xPlayer.showNotification(_U('act_imp'))
 end
end)

WebhookUseItem is config name.
^5 is color (config)
Dependencies:

  • ESX

Price: 10$
Buy here: Moon’s Resource | Discord Logs (tebex.io)
My work:

Config Merger
Have you tried Config Merger? Merge your configs easily