Installation

Dependencies

QBCore Framework


How to install

Drag the script in your folder, run the SQL jailed_players

Add the following lines in your "server.cfg" below

add_ace group.admin command.adminjail
add_ace group.admin command.endadminjail

So only Admins can use the following commands:

/adminjail [ID] [Amount] [Reason] /endadminjail [ID]


How to use commands

circle-exclamation
-- ORIGINAL
Config.Commands = { 
SendJail = "adminjail",
EndJail = "endadminjail", 
}

-- EXAMPLE
Config.Commands = { 
SendJail = "test", 
EndJail = "test2", 
}

server.cfg:
add_ace group.admin command.test 
add_ace group.admin command.test2

Create action location

Name of the locations should be always unique! Like: ["location1"], ["location2"] etc.

For every jail action you can set a unique scenario. With the following link you can see the list off all scenarios. https://wiki.rage.mp/wiki/Scenariosarrow-up-right

circle-info

Info: To see your coordination use /coords in game

Use vector4 coordinates. Example: x = 100.00, y = 150.00, z = 20.00, h = 10.00

Last updated