La FactorY
Script documentation

YF-PlateFlip: documentation

YF-PlateFlip is the companion of La FactorY GoFast vehicles. With the police on your tail, the driver holds H and the plate flips mid-drive, no need to stop. Every player around sees it turn.

v1.0.0La FactorY GoFaststandaloneOneSync

YF-PlateFlip – 6 €

Overview

La FactorY vehicles only

The rotating plate is a La FactorY exclusive: our Golf 8R and BMW M3 G80 GoFast vehicles, and the exclusives with a rotating plate we have made. YF-PlateFlip was designed for them and only works with them, which is why it is offered at a low price. It is useless without one of our vehicles.

Without the script, the plate of our GoFast vehicles only flips when stopped: you have to stop, flip the plate, then drive off again, which makes no sense in the middle of a chase. With YF-PlateFlip, it flips at any speed.

  • At any speed, even when accelerating mid-rotation.
  • Reversible mid-rotation: press again and the plate goes back from where it is.
  • Synced between all players in range, including those who arrive later: officers do see the hidden plate.
  • Secure: only the driver can flip the plate, checked by the server.
  • Standalone: no framework, no database.

Compatible vehicles

VehicleRotating plateYF-PlateFlip
Golf 8R GoFastYesCompatible, already set up
BMW M3 G80 GoFastYesCompatible, already set up
Audi RS4 GoFastNoNot applicable
La FactorY exclusive with a rotating plateYesCompatible, to add to the config: see Exclusives
Any other vehicleNoNot compatible
Keep your GoFast vehicles up to date

Use the latest version of our GoFast vehicles, downloaded from the Cfx.re portal. When a new GoFast with a rotating plate comes out, its model name will be listed here, to add to Config.Vehicles.

Exclusives

Did you buy an exclusive vehicle with a rotating plate from La FactorY? It is compatible with YF-PlateFlip, but since it only exists on your server, it is not set up in advance: add it to the config yourself, it takes two minutes.

  1. Find the model name

    It is the name used to spawn the vehicle, in lowercase. It is given to you when your exclusive is delivered; it is also the name of the .yft file in the stream folder of its resource, without the extension. Example: myexclusive.yft → myexclusive.

  2. Open the config

    Open YF-PlateFlip/config.lua, the only readable file of the resource.

  3. Add it to the list

    Add the name between quotes, followed by a comma, in Config.Vehicles, without removing the models already there: they are our GoFast vehicles.

    config.lua
    Config.Vehicles = {
      -- La FactorY GoFast (do not remove)
      'gold25gf',
      '3mgf',
    
      -- Your La FactorY exclusives
      'myexclusive',
      'myexclusive2',
    }
  4. Restart the resource

    Type restart YF-PlateFlip in the server console, or restart the server. Get in your exclusive, drive, hold H.

ProblemSolution
plateflip_diag answers model … is not in Config.VehiclesThe name you added does not match the vehicle: check the spelling, lowercase, quotes and comma.
A not supported or out of date error showsYour exclusive needs to be adapted on our side: open a ticket on our Discord with the plateflip_diag line, we will send you the updated version.
La FactorY vehicles only

This list only accepts vehicles delivered by La FactorY with a rotating plate. Any other vehicle added here will not turn.

Requirements

ItemDetails
A La FactorY GoFast with a rotating plateGolf 8R or BMW M3 G80, installed and started on the server.
OneSyncRequired to sync between players. The resource refuses to start without it.

No framework or database: the script works on any server.

Installation

  1. Install your GoFast vehicles

    Your La FactorY GoFast vehicles must already be installed and working (see Installing a vehicle).

  2. Drop the resource

    Get YF-PlateFlip from the Cfx.re portal (see Getting your purchases). Copy the YF-PlateFlip folder into your resources without renaming it: the protected version is tied to that name.

  3. Start the resource

    Add it to your server.cfg, after your vehicles:

    server.cfg
    # your La FactorY GoFast vehicles
    ensure golf8r-gofast
    ensure m3g80-gofast
    
    ensure YF-PlateFlip
  4. Allow the diagnostic command

    Optional, for staff:

    server.cfg
    add_ace group.admin command.plateflip_diag allow
  5. Restart

    Get in a GoFast, drive, hold H: the plate flips.

The folder names above are examples: keep those of your vehicle resources.

In game

ActionEffect
Hold HThe plate flips. The key must be held for a quarter of a second: a short press still toggles the headlights as usual.
Hold H againThe registration plate comes back.
H during the rotationThe rotation reverses, from where it is.

Only the driver can flip the plate.

Changing the key

Each player can pick their key in Settings → Key Bindings → FiveM, on the line labelled with Config.KeyLabel. The choice is saved in their game and overrides the config.

Configuration

config.lua is the only editable file of the resource. It ships ready to use: nothing to change for our current GoFast vehicles.

SettingDefaultEffect
Config.Key'H'Default key. FiveM only applies it to players who never set it: a player who already changed it keeps theirs.
Config.KeyLabel'Tourner la plaque'Label shown in the FiveM key bindings. Translate it, for example 'Flip plate'.
Config.Vehiclesour GoFastSupported La FactorY models. Only add our vehicles with a rotating plate: future GoFast vehicles and exclusives.

Diagnostic

plateflip_diag, typed in game by a staff member sitting in a vehicle, writes a status line to the server console. Paste it into your Discord ticket: it lets support see right away what is wrong.

Troubleshooting

It does not work on another vehicle

That is expected: YF-PlateFlip only works with La FactorY vehicles with a rotating plate (GoFast and exclusives). See Compatible vehicles.

Nothing happens when holding H

Check that you are the driver (not a passenger) of a La FactorY Golf 8R or BMW M3 G80 GoFast, and that the key was not changed in the FiveM key bindings.

A [YF-PlateFlip] error shows in the console

The vehicle resource is not started, or is out of date. Check that it is in your server.cfg and use the latest version of our GoFast vehicles. If the error persists, open a ticket with the plateflip_diag line.

The headlights switch at the same time

The player releases too early: a press shorter than a quarter of a second is left to the headlights. Just hold the key.

The resource does not start

OneSync is disabled. Enable it in your server.cfg (set onesync on) or in txAdmin.

"You lack the required entitlement"

The resource is not linked to the Cfx.re account of your server key, or the folder was renamed. Download it from the Cfx.re portal with the account that bought it (see Getting your purchases) and keep the name YF-PlateFlip.

Other guides

All documentation

  1. Join the La FactorY Discord.
  2. Open a ticket naming the product.
  3. The team gets back to you quickly to complete the purchase.
Open Discord