HexscriptsClassicNamechange
Configurations
Here you will get all configurations & open source files that are included within this script.
Open Source Files
Config = {}
Config.Debug = false
Config.Locale = 'de'
Config.Price = 100000
Config.Spots = {
vector4(213.0699, -914.8056, 30.6920, 30.0),
}
Config.Blip = {
id = 434, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'HEX Namechange',
enabled = true,
}
Config.Spot = {
ped = {
enabled = false,
distance = 1.0,
hash = joaat('CS_FBISuit_01')
},
marker = {
enabled = true,
type = 29, -- https://wiki.rage.mp/index.php?title=Markers
drawDistance = 50.0,
scale = vector3(2.0, 2.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = true,
rotate = false
},
}
Config.Locales = {
['de'] = {
['pressE'] = 'Drücke [~r~E~s~] um auf die Namensänderung zuzugreifen!',
['payedCash'] = 'Name geändert! Bargeld entzogen.',
['payedBank'] = 'Name Changed! Geld abgebucht',
['notEnoughMoney'] = 'Du hast nicht genug Bargeld oder Geld auf der Bank.',
['blacklistedName'] = 'Dieser Name ist Blacklisted.',
['changedName'] = '~g~Name Geändert~s~!',
['invalidCharacter'] = 'Unültige Eingabe!'
},
['en'] = {
['pressE'] = 'Press [~r~E~s~] to open the Namechange Menu!',
['payedCash'] = 'Name Changed! Cash taken.',
['payedBank'] = 'Name Changed! Removed Money from Bank.',
['notEnoughMoney'] = 'You dont have enough Cash or Money on the Bank.',
['blacklistedName'] = 'This Name is Blacklisted.',
['changedName'] = '~g~Name Changed~s~!',
['invalidCharacter'] = 'Invalid Input!'
}
}
Config.Blacklisted = {
'<',
'>',
'badWord_1',
'badWord_2',
'badWord_3',
'badWord_4',
'badWord_5',
}
function Notify(title, message, type)
TriggerEvent('hex_hud:notify', title, message, type)
end
function ShowNotify(msg)
AddTextEntry('hexNotification', msg)
BeginTextCommandDisplayHelp('hexNotification')
EndTextCommandDisplayHelp(0, false, true, -1)
end