Graffiti System
Purchase
Installation
Framework compatibility
This resource is standalone and works on any FiveM server.
Compatible with ESX, QBCore, QBox, vRP, and other frameworks.
If you are using a framework other than ESX, QBCore, or QBox, follow the Standalone installation instructions.
Standalone
Put the
rtx_graffitifolder into yourresources.Open
config.lua.Configure your
config.luato your preferences.Upload
sql.sqlfile to your MySQL database.Open
fxmanifest.luaand edit it the same way as in this screenshot: https://i.imgur.com/LWaYxz7.png — remove--from line 11, or replace line 11 with@oxmysql/lib/MySQL.lua.Add the
rtx_graffitiresource to yourserver.cfg.
QBCore
Put the
rtx_graffitifolder into yourresources.Open
config.lua.Replace
Config.Framework = "standalone"withConfig.Framework = "qbcore".Configure your
config.luato your preferences.Upload
sql.sqlfile to your MySQL database.Open
fxmanifest.luaand edit it the same way as in this screenshot: https://i.imgur.com/LWaYxz7.png — remove--from line 11, or replace line 11 with@oxmysql/lib/MySQL.lua.Add the
rtx_graffitiresource to yourserver.cfg.
ESX
Put the
rtx_graffitifolder into yourresources.Open
config.lua.Replace
Config.Framework = "standalone"withConfig.Framework = "esx".Configure your
config.luato your preferences.Upload
sql.sqlfile to your MySQL database.Open
fxmanifest.luaand edit it the same way as in this screenshot: https://i.imgur.com/yoULcX4.png — remove--from line 10, or replace line 10 with@mysql-async/lib/MySQL.lua.Add the
rtx_graffitiresource to yourserver.cfg.
Common issues (expandable)
Item version: missing items
If you use the item version, create items according to your framework. Item names: graffitispray, graffitiremover.
Admin commands don't work: /removegraffiti and /showgraffiti
If the admin commands don't work, you don't have the correct permissions set. You can change these in the server/other.lua file. These commands always work in the console if you need a quick removal.
Adding new images for image graffiti type
To add new images for the image graffiti type, add them to Config.GraffitiImages. Be sure to always add the image files to the script folder html/graffiti, or you can use a URL link from a site like Imgur.
Notes
This page contains simple installation instructions only.
More detailed instructions, exports, events and developer-related information can be found directly inside the product folder after downloading the resource from the CFX Asset Portal.
Support
If you need help with installation, configuration or have any questions regarding this resource, feel free to contact us on our Discord server:
Last updated