AKL DOCUMENTATION
  • 👋Introduction
  • GUSTI RESOURCES
    • ⛏️gusti-minerjob
      • Setup
      • Update
    • 🚙gusti-membershipvehicle
    • 🍗gusti-butcherjob
    • 📣gusti-iosnotify
      • Setup
      • Usage
    • 🌐gusti-status server web
      • Setup
    • ⏳gusti-loadscreen
      • Setup
      • Building
    • 💎gusti-vipmenu
      • Setup
    • 🛠️gusti-welderloot
      • Common Issues
      • Setup
    • 🏃‍♂️gusti-boostsprint
      • Setup
    • 🚀gusti-boostfps
    • 📹gusti-cctv
      • Setup
    • 📅gusti-datetime
      • Setup
    • ☢️gusti-radzone
      • Setup
    • 🔫gusti-hidereticle
    • 🚗gusti-givevehicle
      • Setup
      • Usage
    • 💥gusti-duarmemek
      • Setup
      • Usage
  • 🛡️gusti-vipsystem
    • Setup
    • Usage
  • CODE SNIPPETS
    • Fix Animasi
    • Fix Spam Punch
    • Boost Fps
    • Disable Ambient
    • Send Webhook Messages
    • Spawns GTA V Online Train On Fivem
    • Removing / Adding Limit Map
    • Blacklist Name
    • Item Probability
    • Anti Duplicate Vehicle
    • How To Unbind Keys
Powered by GitBook
On this page
  • Commands
  • Custom Notification
  • Custom Language
  • Change Language
  • Custom GeneratePlate
  1. GUSTI RESOURCES
  2. gusti-givevehicle

Usage

Commands

/givecar

/delcarplate

Custom Notification

If you want to change the notification with your notification, you can open the client/custom.lua folder

RegisterNetEvent('gusti-givevehicle:Notify')
AddEventHandler('gusti-givevehicle:Notify', function(args, _type, time)
    if Config.Notify == 'mythic_notify' then
        exports['mythic_notify']:SendAlert(args, _type, time)
    elseif Config.Notify == 'ox_lib' then
        if _type == 'error' then
            icons = 'xmark'
        elseif _type == 'success' then
            icons = 'fa-solid fa-thumbs-up'
        elseif _type == 'info' then
            icons = 'fa-solid fa-circle-info'
        end

        lib.notify({
            title = '',
            description = args,
            position = 'top',
            duration = 5000,
            type = _type,
            style = {
                backgroundColor = '#141517',
                borderRadius = 10,
                color = '#C1C2C5',
                ['.description'] = {
                    color = '#909296'
                }
            },
            icon = icons
        })
    elseif Config.Notify == 'ESX' then
        ESX.ShowNotification(args, _type, time)
    end
end)

Custom Language

If you want to change the language translation, you can go to the locales folder

  • en = English

  • id = Indonesia

Change Language

If you want to change the language, you can set it in the config.lua section

-- Language
Config.Locale = GetConvar('esx:locale', 'en') -- en / id

Custom GeneratePlate

If you want to change / customize the vehicle plate random, you can see it in client > custom.lua

function GeneratePlate()
	math.randomseed(GetGameTimer())

	local generatedPlate = string.upper(GetRandomLetter(Config.PlateLetters) .. (Config.PlateUseSpace and ' ' or '') .. GetRandomNumber(Config.PlateNumbers))

	local isTaken = IsPlateTaken(generatedPlate)
	if isTaken then 
		return GeneratePlate()
	end

	return generatedPlate
end
PreviousSetupNextgusti-duarmemek

Last updated 1 month ago

🚗