Custom gang zone

  • Open rcore_gangs/config.lua

  • Search for Config.GangZones - for example Config.GangZones['SKID']

  • Copy zone like this and duplicate it

Config.GangZones['SKID'] = {  
    name = 'SKID',  
    label = 'Mission Row',  
    neighbors = {  
        'LMESA',  
        'PBOX',  
        'TEXTI',  
        'RANCHO',  
        'STRAW'  
    },  
    parts = {  
        { x1 = 199.43, y1 = -1158.02, x2 = 505.03, y2 = -877.91 },  
    },  
    drugPreference = {  
        CATEGORY_LOW = 1.2,  
        CATEGORY_MED = 1.2,  
        CATEGORY_HIGH = 1.2  
    }  
}  

Change NAME and label of zone and leave neighbors = {}

  • In game open Admin Tool and enable coords editor (Vector3)

  • Replace coords { x1 = 199.43, y1 = -1158.02, x2 = 505.03, y2 = -877.91 } and save config.lua When are multiple rows in parts = { the zone is composed of multiple squares and is adjacent to other zones.

  • Open console (F8) and type ensure rcore_gangs and confirm it with [ENTER]

Last updated