πScripts
RCore Spray
1
Navigate to your RCore Spray folder
In the server/server.lua
file add the following at or near Line 70 just before the PersistSpray(spray)
line:
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)

Last updated