Skip to main content

🪧 Sign System

A simple and immersive sign system for RedM (VORP Core) that allows players to place custom signs in the world.

✨ Features

  • Multiple Sign Types - Configure different items that spawn different props.
  • Job Restrictions - Restrict specific signs to certain jobs (e.g. Sheriff).
  • Custom Text - Title and content are customizable.
  • Limitations - Limit the number of signs per player and text length.

⚙️ Configuration

Configuration is done in config.lua.

Sign Items & Jobs

Define items, their props, and optional allowed jobs here.

Config.SignItems = {
['sign_item'] = {
prop = 'p_menusign01x',
allowedJobs = {'saloon'} -- Only for the saloon job
},
['chalk_sign'] = {
prop = 'p_chalksign06x',
allowedJobs = {'sheriff', 'police'} -- Only for lawmen
}
}
  • prop: The object model to spawn.
  • allowedJobs: A list of jobs allowed to use this sign. If empty or nil, everyone can use it.

Limits & Distances

-- Text Limits
Config.MaxTitleLength = 50 -- Max characters for title
Config.MaxContentLength = 2000 -- Max characters for content

-- Player Limit
Config.MaxSignsPerPlayer = 5 -- How many signs a player can have at once (0 = unlimited)

-- Interaction
Config.InteractionDistance = 2.5 -- Distance to read/edit
Config.PlacementDistance = 3.0 -- Check distance for placement

Language

The language can be easily changed.

Config.Locale = "en" -- "de" for German or "en" for English

🎮 Usage

  1. Own an Item: You need one of the configured items (e.g., sign_item).
  2. Use: Double-click the item in your inventory.
  3. Place: Follow the on-screen prompts (Key [E]) to position the sign. You can adjust rotation and height.
  4. Edit: Walk up to the sign and use the prompt to change text or delete it.