Cube Scripts

Commands

Commands and key bindings available in game.

Every command name can be changed in config.lua.

Admin commands#

Note

Admin commands require the Config.AdminAce ace permission or one of the Config.AdminGroups framework groups.

CommandConfig keyDescription
/gangcreatorConfig.Commands.creatorOpens the admin creator: organisations, ranks, gang points, members, score, treasury and territories.
/zonecreatorConfig.Commands.zoneCreatorOpens the in-game territory creator with a free camera.

Zone creator controls#

KeyAction
Z Q S D / W A S DMove the camera
E / Q (A on AZERTY)Up / down
Shift / AltFaster / slower
Mouse wheelChange the camera speed
Left clickAdd a point, or close the zone by clicking the first point
Right clickRemove the last point
EnterFinish the zone
XCancel the drawing
GToggle the grid
TabOpen the zone list panel

Points snap to the corners and edges of existing zones, so neighbouring territories line up perfectly.

Player commands#

CommandConfig keyDescription
/gangzonesConfig.MapZones.commandHides or shows the territories on the map. The choice is remembered per player.

Key bindings#

Players can rebind every key in Settings > Key Bindings > FiveM.

Default keyConfig keyDescription
G (pause map)Config.MapZones.toggleKeyHides or shows the territories while the pause map is open.
noneConfig.Keys.sellDrugsSells to the closest ped without using the target.