Example Exports
ตัวอย่างการใช้งาน exports สำหรับส่งข้อมูล Log จากเกมไปยัง Discord สามารถนำไปประยุกต์ใช้ร่วมกับระบบต่าง ๆ ได้ทั้ง client-side และ server-side
Example Exports
พารามิเตอร์ที่ใช้บ่อย
exports.nc_discordlogs:Discord({
webhook = 'customs_vehicle',
message = '丨`แต่งยานพาหนะ หมวดของแต่ง`',
description = '```ได้แต่งชิ้นส่วน '.. string.upper(modName) ..' ระดับของแต่ง/ชื่อรุ่นของแต่ง ' .. string.upper(menuOption.label) .. ' เข้ากับยานพาหนะ ' .. GetLabelText(vehDisplayName) .. ' ป้ายทะเบียน ' .. GetVehicleNumberPlateText(customVehicle) .. ' และเสียค่าใช้จ่าย ' .. tempPrice .. ' $```',
color = '008000',
screenshot = true
})Troubleshooting
Support
Last updated