Price
$10.00[PAID] Easy Discord Logs
A script by hichay
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:
Community Reviews
See what others are saying about this script.
Leave a Review
Share your experience and help others.