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)

  • Go to the top left corner where you want the zone and get the vector x1 and y1 Then go to the bottom right corner of your imaginary zone and get the vector x2 and y2.

  • 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