Change the AOP and peacetime
Move the AOP and turn peacetime on or off from the game with /aop and /peacetime, on the HUD page or from the top of the CAD. Everyone is told in chat and sees it on their HUD straight away.
Your community has one AOP, the area of patrol. It's shown at the top of the CAD and on every player's HUD. Staff can move it during a session without leaving the game, and turn on peacetime when the server needs to calm down.
Before you start#
- Your community needs the CAD, or the HUD under Mechanics.
- Your game server needs the LonexOne FiveM resource, version 0.12.0 or newer.
- To change them, a role needs the Change the AOP and peacetime from the game, with /aop and /peacetime, and from the top of the CAD permission. Add it under Roles. Owners and administrators have it already.
- Players need Discord linked in FiveM, with the same account they use on your community's website.
Change the AOP#
Use whichever is closest to hand:
- In game: type
/aopand the new area, like/aop Sandy Shores./aopon its own shows the AOP. - On the HUD page: under Mechanics, click HUD. The page opens on the Live tab. Click one of the Quick AOPs, or type the new one under Change the AOP and click Save.
- In the CAD: click the AOP at the top of the screen, type the new one and press OK. This works in the Modern and Realistic designs, and on the Classic unit and civilian screens.
- In the CAD settings: the Area of patrol box on the Settings page.
Every player sees the new AOP on their HUD within a few seconds, without reconnecting, and the chat says AOP changed to Sandy Shores by Sam.
Quick AOPs#
The Quick AOPs on the Live tab set the AOP in one click. The one in use is highlighted. You start with State wide, Los Santos, Blaine County, Sandy Shores and Paleto Bay. To change them, click Edit quick AOPs, put one per line in the order you want them, and click Save quick AOPs. You can have up to 12, each up to 60 characters. Leave the box empty to have none.
The Live tab also shows the current AOP and peacetime, who changed them last, a preview of how they look on your HUD, and the last 10 changes, made in game or on the website.
Turn peacetime on or off#
- In game:
/peacetime, or/ptfor short, switches it on or off./peacetime onand/peacetime offwork too. - On the HUD page: click Turn on or Turn off in the Peacetime box on the Live tab. It changes straight away, and the box shows how long it has been on.
When it starts, the chat says Peacetime is on: no violence, no shooting, no weapons out. and a notice shows in the middle of every player's screen for a few seconds. The HUD shows a red Peacetime box next to the AOP until it ends, when the chat says Peacetime is off.
While peacetime is on, players can't:
- shoot
- punch or use melee weapons
- shoot from a vehicle
- hold a weapon: any weapon they draw goes straight back away
Officers on duty in the CAD can still use weapons is on to start with, so police signed on in the CAD keep theirs. Untick it under AOP and peacetime settings on the Live tab of the HUD page, and click Save, to hold everyone to peacetime.
Show a notice when peacetime starts puts a box in the middle of the screen for a few seconds when it comes on, and for players who join while it is on. Untick it if you only want the Peacetime box on the HUD.
If the resource or the server restarts, peacetime comes back as it was on the website.
Every change is logged#
Each change goes in your community's activity log, with who made it and whether it came from the game.
You can rename the commands#
/aop, /peacetime and /pt can be renamed, or switched off by leaving their box empty, on the Game resource tab of Status & servers. See Every in-game command.
Something not working?#
"Only people who can change the AOP and peacetime can do that." Your role doesn't have the permission. Ask your owner to add it under Roles.
"Your Discord isn't linked." Sign in on the community website with Discord, and make sure FiveM is linked to the same Discord account.
The HUD doesn't show the Peacetime box.
Check Peacetime, while it's on is ticked under Location on the Design tab of the HUD page, and that players haven't hidden it with /hud.
It takes up to a minute to reach the game.
Changes made on the website reach a server without the CAD once a minute. Changes made in game with /aop and /peacetime reach everyone straight away.
See also
Can't find what you need?
Open a ticket in our Discord and someone from the team will help. Found a bug, or missing a feature? Tell us on the feedback board.