Integration with RCore Spray is easy! Follow the step-by-step guide to get started!
In the server/server.lua file add the following at or near Line 70 just before the PersistSpray(spray) line:
server/server.lua
PersistSpray(spray)
local gangID = exports["cb-gangsystem"]:GetGangID(Source) local zoneName = exports['cb-gangsystem']:GetGangZonePlayerIsIn(Source) local increaseAmount = Config.LoyaltyIncreaseAmount exports["cb-gangsystem"]:AddLoyaltyToZone(gangID, zoneName, increaseAmount)
Add the following line to your RCore Spray config.lua file at or near Line 21:
config.lua
LoyaltyIncreaseAmount = 20, -- This is the amount of loyalty that will be added to the gang zone when a player sprays
Last updated 6 months ago