Agents can also search and read this documentation through its MCP server.
Installation
Installation
General Setup
- Extract the resource into your server's
resourcesfolder. - Open your
server.cfg. - Make sure the default FiveM resources are started before this script.
- Add the following line:
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseevents
ensure hkn_pedscale
Configuration
Below are all available configuration options for hkn_pedscale.
Theme Color
Customize the interface theme color.
Config.ThemeColor = "#ff0066"
Command
Change the command used to open the Ped Scale menu.
Config.Command = "pedscale"
Identifier Whitelist
Restrict access to specific players using their identifier.
Config.RequireIdentifier = {
enabled = false,
type = "license",
whitelist = {},
}
Options
| Setting | Description |
|---|---|
enabled |
Enable or disable identifier restriction. |
type |
Identifier type (license, steam, discord, etc.). |
whitelist |
List of allowed identifiers. |
Admin Gift Command
Allows authorized administrators to grant scale gifts to players.
Config.AdminGift = {
enabled = true,
command = "giftscale",
type = "license",
whitelist = {},
}
Options
| Setting | Description |
|---|---|
enabled |
Enable or disable the admin command. |
command |
Command name. |
type |
Identifier type used for the whitelist. |
whitelist |
Authorized administrator identifiers. |
Scale Limits
These values define the allowed character size range.
Warning: It is not recommended to use extreme values, as they may cause animation, collision, or synchronization issues.
Config.MinScale = 0.80
Config.MaxScale = 1.20
Config.DefaultScale = 1.0
Locale
Customize every text displayed in the interface.
Config.Locale = {
title = "PED SCALE",
description = "Move the slider to preview your character's size in real time.",
apply = "Apply",
reset = "Reset",
cancel = "Cancel",
notify_set = "Scale set: %.2fx",
notify_reset = "Scale reset: 1.00x",
no_permission = "You do not have permission to open this menu.",
}
Locale Fields
| Key | Description |
|---|---|
title |
Menu title. |
description |
Menu description. |
apply |
Apply button text. |
reset |
Reset button text. |
cancel |
Cancel button text. |
notify_set |
Notification shown after setting a new scale. |
notify_reset |
Notification shown after resetting the scale. |
no_permission |
Message shown when a player has no permission to use the menu. |
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending
.mdto page URLs; this page is available as Markdown.