Var FiveM
ScriptsPaketeAbonnementsDoku
VAR
Var FiveM
ScriptsPaketeAbonnementsDoku
Theme-AnpassungUber unsKontakt
Jetzt kaufen

-- 28 sections

  • ›paintball
    • configuration
    • features
    • anti-cheat-integration
    • game-modes
    • api
    • arenas
    • command
    • config
  • ›chess
    • configuration
    • events
    • integration-example
    • exports
    • controls
    • config
  • ›supermarket simulator
    • configuration
    • catalog-manager
    • commands-and-permissions
    • props-editors
    • owning-and-running-a-store
    • config
  • ›coins shop
    • configuration
    • identifier
    • export
    • server-event
    • languages
    • products
    • delivery
    • owner-panel
    • webhooks-discord
  • ›clothes shop
    • installation
    • configuration
    • blips-marker
    • translate
    • change-cam-and-pos
  • ›casino
    • installation
    • configuration
    • main-config
    • horse
    • lucky-whell
    • translate
  • ›drugs
    • installation
    • configuration
    • labs-and-interiors
    • maintenance-and-modules
    • missions
    • street-selling
    • administration
  • ›clothes shop v2
    • installation
    • configuration
    • position
    • advice-and-troubleshooting
    • configure-clothing-shops
  • ›interaction
    • configuration
    • public-api
    • interaction-config-reference
    • dialog-system
  • ›emote
    • configuration
    • config
    • adding-emote
    • menu
    • keybind
    • modules
    • 3d-placement
    • playlist
    • wheel
    • shared-emotes
  • ›crew
    • installation
    • export
  • ›alert job
    • installation
    • server-export
  • ›pin code
    • installation
    • export
  • ›society manager
    • installation
    • export
    • configuration
    • translate
    • max-salary
    • last-invoice
  • ›property
    • installation
    • configuration
    • translate
    • add-interior
  • ›barber shop
    • installation
    • configuration
    • change-menu-open-source
    • blips
    • translate
    • add-shop
  • ›shop with basket
    • installation
    • configuration
    • item-category-config
    • blips-marker
    • translate
    • add-shop
  • ›tattoo shop
    • installation
    • configuration
    • edit-tattoo
    • blips-marker
    • translate
    • add-shop
  • ›gardener job
    • installation
    • configuration
    • change-pos-farm
    • blips
    • translate
  • ›heist atm
    • installation
    • configuration
    • event-money
    • translate
    • police-alert
  • ›heist fleeca
    • installation
    • configuration
    • translate
    • pos-fleeca-heist
  • ›poster job
    • installation
    • configuration
    • change-pos-farm
    • change-poster-texture
    • blips-marker
    • translate
  • ›loading screen
    • installation
    • configuration
  • ›bank
    • installation
    • configuration
    • position
    • blips
    • translate
    • society
  • ›autocardealer
    • installation
    • configuration
    • add-vehicles
    • translate
    • blips
    • coords
  • ›character creator
    • installation
    • configuration
    • translate
    • expression
    • spawn
  • ›multi character
    • installation
    • configuration
    • translate
    • change-character-creator
    • commands
  • ›bill
    • installation
    • configuration
    • translate
    • control

~/docs/property/installation

property docs›
  • installation
  • configuration
  • configuration/translate
  • configuration/add-interior

Property

Installation

-- 5 steps · 5 code blocks · 1 min read

get var-propertytry it on the test server
inote

Installing this resource is like any other resource only verified that you have the required dependencies

01step

Connect via this site: https://keymaster.fivem.net/ with your CFX account to which your purchase was made on the store https://www.var-fivem.com/

02step

Go to the Granted Assets category and download the most recent version of the Property Creator

03step

As this script requires a database you must insert the SQL into it, if you have some problems with SQL insertion please import it directly by the button import and click on the button "choose a file"

04step

Once the download is complete, unzip the file and drag it into the resources folder of your server

!warning

If you added the resource while your server was already running, remember to do the refresh command and then ensure the resource

powershell
refresh
code
ensure Var-Property

05step

To resolve the issue where you get stuck inside a property after leaving the server and reconnecting, follow these steps.

1.10.10 - Core.SavePlayer

Replace the function "Core.SavePlayer" -> es_extended/server/functions.lua by this one

lua
function Core.SavePlayer(xPlayer, cb)
    if not xPlayer.spawned then
        return cb and cb()
    end

    updateHealthAndArmorInMetadata(xPlayer)

    local parameters = {
        json.encode(xPlayer.getAccounts(true)),
        xPlayer.job.name,                      
        xPlayer.job.grade,                     
        xPlayer.group,                         
        json.encode(xPlayer.getInventory(true)),
        json.encode(xPlayer.getLoadout(true)),  
        json.encode(xPlayer.getMeta()),         
        xPlayer.identifier,                     
    }

    local sql = "UPDATE `users` SET `accounts` = ?, `job` = ?, `job_grade` = ?, `group` = ?, `inventory` = ?, `loadout` = ?, `metadata` = ? WHERE `identifier` = ?"

    if not ServerSavePlayers[xPlayer.identifier] then
        local playerPosition = json.encode(xPlayer.getCoords(false, true))
        table.insert(parameters, 5, playerPosition)
        sql = "UPDATE `users` SET `accounts` = ?, `job` = ?, `job_grade` = ?, `group` = ?, `position` = ?, `inventory` = ?, `loadout` = ?, `metadata` = ? WHERE `identifier` = ?"
    end

    MySQL.prepare(
        sql,
        parameters,
        function(affectedRows)
            if affectedRows == 1 then
                print(('[^2INFO^7] Saved player ^5"%s^7"'):format(xPlayer.name))
                TriggerEvent("esx:playerSaved", xPlayer.playerId, xPlayer)
            end
            if cb then
                cb()
            end
        end
    )
end

1.10.1 - Core.SavePlayer

Replace the function "Core.SavePlayer" -> es_extended/server/functions.lua by this one :

lua
function Core.SavePlayer(xPlayer, cb)
    local parameters = {
        json.encode(xPlayer.getAccounts(true)),
        xPlayer.job.name,
        xPlayer.job.grade,
        xPlayer.group,
        json.encode(xPlayer.getInventory(true)),
        json.encode(xPlayer.getLoadout(true)),
        json.encode(xPlayer.getMeta()),
        xPlayer.identifier
    }

    local sql = 'UPDATE `users` SET `accounts` = ?, `job` = ?, `job_grade` = ?, `group` = ?, `inventory` = ?, `loadout` = ?, `metadata` = ? WHERE `identifier` = ?'

    if not ServerSavePlayers[xPlayer.identifier] then
        table.insert(parameters, 5, json.encode(xPlayer.getCoords()))
        sql = 'UPDATE `users` SET `accounts` = ?, `job` = ?, `job_grade` = ?, `group` = ?, `position` = ?, `inventory` = ?, `loadout` = ?, `metadata` = ? WHERE `identifier` = ?'
    end

    MySQL.prepare(
        sql,
        parameters,
        function(affectedRows)
            if affectedRows == 1 then
                print(('[^2INFO^7] Saved player ^5"%s^7"'):format(xPlayer.name))
                TriggerEvent('esx:playerSaved', xPlayer.playerId, xPlayer)
            end
            if cb then
                cb()
            end
        end
    )
end

Property:CanSave

And add this event where you want in es_extended/server/functions.lua

lua
ServerSavePlayers = {}

RegisterServerEvent("Property:CanSave")
AddEventHandler("Property:CanSave", function(bool, identifier)
	ServerSavePlayers[identifier] = bool
end)
nextconfiguration

-- on this page

  1. 01step
  2. 02step
  3. 03step
  4. 04step
  5. 05step
VAR
Var FiveM

Premium FiveM Scripts. Low Resmon, hohe Qualitat. Fur ESX, QBCore & Standalone.

28Skripte
1,500+Verkaufe

Scripts

  • Marketplace
  • Pakete
  • Abonnements
  • Theme-Anpassung

Beliebteste

  • Supermarket Simulator
  • FiveM Casino Script
  • FiveM Coin Shop
  • FiveM Emote Menu
  • FiveM Paintball Script

Ressourcen

  • Free Scripts
  • Guides
  • Dokumentation
  • Support

Unternehmen

  • Uber uns
  • Kontakt
  • Discord

Rechtliches

  • AGB
  • Datenschutz
  • Erstattungen

© 2026 Var FiveM. Alle Verkaufe sind endgultig.

Zahlungen uberTebex