--[[
* HOW TO INSTALL
Having problems installing the product? see our documentation:
https://docs.wantedstore.com.br (ctrl + click)
--]]
-- Status functions
config = {}
config.maxHealth = 200 -- 300, 400
config.progressBar = true -- False to remove progress bar event
config.damageHungerThirst = true -- False to remove hunger and thirst damage
config.flashNeeds = true -- False to remove flash of need status
config.handshakeStress = true -- Shake screen on the stress full
config.stamina = true -- False to remove stamina
config.oxygen = true -- False to remove oxygen
config.health = true -- False to remove health
config.armor = true -- False to remove armor
config.stress = true -- False to remove stress
config.needs = true -- False to remove hunger and thirst
-- Notify of attention on the needs status
NotifyHunger = function()
return TriggerEvent("Notify", "hunger", "Sofrendo com a fome.", 3000)
end
NotifyThirst = function()
return TriggerEvent("Notify", "Thirst", "Sofrendo com a sede.", 3000)
end
ProgressEvent = function()
return TriggerEvent("Progress", source, 1500)
end
getUserInfo = function(source)
local userInfo = {
id = 12,
job = "Lixeiro",
bank = 2000,
money = 50000
}
return userInfo -- Table containing { id = number, job = string, bank = number, money = number }
end
-- Car functions
config.textBelt = 'Colocar/Retirar o cinto.' -- Text: Put on/Remove the belt.
config.bindBelt = 'G' -- Car belt bind
config.velocity = 'kmh' -- kmh or mph
config.forwardPed = true -- Throw ped in the car crashes without a belt
config.textNitro = 'Ativação do nitro.' -- Text: Nitro activation.
config.bindNitro = 'LMENU' -- Nitro activate bind
config.nitro = false -- True for use nitro hud, false to use other script (Event to apply in below)
config.blockExitOnBelt = true -- True to block exiting the vehicle with the belt, false to exit the vehicle even with the belt activated
-- Fuel functions
FuelFunction = function(vehicle)
return GetVehicleFuelLevel(vehicle)
end
-- Doors locked function
DoorsLocked = function(vehicle)
return GetVehicleDoorsLockedForPlayer(vehicle)
end
-- (vehicle parameter is return of the GetVehiclePedIsUsing)
-- Visual functions
config.clockTime = true -- False to remove clock
config.radioFreq = true -- False to remove radio frequency
config.weaponAmmo = true -- False to remove weapon ammo
config.localization = true -- False to remove localization
config.radarFullTime = true -- False to enable only in vehicles
config.showBank = true -- False to enable Bank
config.showCash = true -- False to enable Cash
config.showJob = true -- False to enable Job
-- Colors
config.talkingColor = { "#86E9FF", "#FFF" } -- Color in voice while talking | Color in voice while silence
config.healthColor = "#FFF"
config.armorColor = "#FFF"
config.staminaColor = "#FFF"
config.hungerColor = "#FFF"
config.thirstColor = "#86E9FF"
config.stressColor = "#FFF"
config.oxyColor = "#FFF"
config.speedProgressColor = "#FFF"
config.fuelProgressColor = "#FFF"
config.carHealthProgressColor = "#FFF"
config.nitroProgressColor = "#FFF"
config.micPointColor = "#FFF"
config.onOFF = 'hud' -- Command for show/hide hud
Last updated