spray-canGraffiti System

Purchase

Purchase this resourcearrow-up-right

Installation

circle-info

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.

1

Standalone

  • Put the rtx_graffiti folder into your resources.

  • Open config.lua.

  • Configure your config.lua to your preferences.

  • Upload sql.sql file to your MySQL database.

  • Open fxmanifest.lua and 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_graffiti resource to your server.cfg.

2

QBCore

  • Put the rtx_graffiti folder into your resources.

  • Open config.lua.

  • Replace Config.Framework = "standalone" with Config.Framework = "qbcore".

  • Configure your config.lua to your preferences.

  • Upload sql.sql file to your MySQL database.

  • Open fxmanifest.lua and 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_graffiti resource to your server.cfg.

3

ESX

  • Put the rtx_graffiti folder into your resources.

  • Open config.lua.

  • Replace Config.Framework = "standalone" with Config.Framework = "esx".

  • Configure your config.lua to your preferences.

  • Upload sql.sql file to your MySQL database.

  • Open fxmanifest.lua and 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_graffiti resource to your server.cfg.

Common issues (expandable)

chevron-rightItem version: missing itemshashtag

If you use the item version, create items according to your framework. Item names: graffitispray, graffitiremover.

chevron-rightWebhookshashtag

If you want to use webhooks, you need to put the webhook URL in the server/other.lua file.

chevron-rightAdmin commands don't work: /removegraffiti and /showgraffitihashtag

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.

chevron-rightAdding new images for image graffiti typehashtag

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:

Join our Discordarrow-up-right

Last updated