๐ BLN Ghost Train โ

๐บ Preview โ
๐ฐ Buy Now โ
Enhance your RedM server with a mysterious and ethereal Ghost Train experience! Create unforgettable supernatural moments and special events with this unique, immersive script.
โจ Features โ
- ๐ Spawn a semi-transparent, non-colliding ghost train - Perfect for supernatural events and storytelling
- ๐ป Invisible driver mechanic - Adds to the mysterious, immersive gameplay experience
- ๐ฎ Simple controls - Use W/S keys to control speed and direction effortlessly
- ๐ Full network synchronization - Works seamlessly across all players in multiplayer
- ๐ Customizable permission system - Flexible access control for admin/event management
- ๐ซ Smooth transitions - Screen fades when spawning/despawning for polished experience
- โ๏ธ Easy configuration - Simple config file for server customization
- โก Highly optimized - 0.0 resmon impact when idle! Minimal performance footprint
Elevate your server's atmosphere with this unique, engaging, and performance-friendly Ghost Train script!
๐ Dependencies โ
This script is standalone and doesn't require any dependencies!
โ๏ธ Installation โ
- Download the latest release
- Extract the files to your server's resource folder:
resources/[BLN]/bln_ghost_train - Add
ensure bln_ghost_trainto yourserver.cfg - Configure the settings in
config.luato your liking (optional) - Configure permissions in
c/permission.luaif needed - Restart your server
๐ ๏ธ Configuration โ
The configuration is simple and straightforward:
Config = {}
Config.Debug = true -- Enable debug mode for troubleshooting
Config.Command = "gt" -- Change this to your preferred command nameConfiguration Options โ
| Option | Type | Default | Description |
|---|---|---|---|
Debug | boolean | true | Enable debug mode for troubleshooting and console messages |
Command | string | "gt" | The command name to spawn/control the ghost train |
๐ Permission System โ
The script includes a customizable permission system that you can modify to fit your server's needs:
-- File: c/permission.lua
-- Here you can add your own custom permissions to the command.
-- Default: Anyone can use the command.
function HasPermission()
-- Your logic here. example: Job lock, server permissions, etc.
return true
endPermission Examples โ
Example 1: Admin Only
function HasPermission()
-- Check if player is admin (adjust based on your framework)
local player = PlayerPedId()
-- Example: Check player's server ID or ace permissions
return IsPlayerAceAllowed(PlayerId(), "ghosttrain.use")
endExample 2: Job-Based (VORP Example)
function HasPermission()
-- Example for VORP Core
local Core = exports.vorp_core:GetCore()
local User = Core.getUser(source)
local Character = User.getUsedCharacter
local job = Character.job
-- Allow only sheriffs and admins
return job == "sheriff" or job == "admin"
endExample 3: Item-Based Permission
function HasPermission()
-- Check if player has a specific item
-- Adjust based on your inventory system
local hasSpecialTicket = exports.your_inventory:HasItem("ghost_train_ticket")
return hasSpecialTicket
end๐ฎ Usage โ
Spawning the Ghost Train โ
Use the command to spawn the ghost train:
/gt(or whatever command you configured in
config.lua)Control the train using simple keyboard controls:
- W - Increase speed / Move forward
- S - Decrease speed / Move backward / Stop
Use the command again while in the train to despawn it
๐ค Support โ
Need help? Have questions? Join our Discord server for support and updates!
- ๐ฌ Discord: Join Here
- ๐ฎ Live support and community help
- ๐ Regular updates and improvements
- ๐ Additional resources and guides
Create unforgettable supernatural moments on your RedM server with BLN Ghost Train! ๐๐ป
