[Release] LANCES-AOP - Keeps Players in the AOP forcibly, like North Korea!

LANCES-AOP

Summary

This is yet another Area of Play resource, but this time, it actually does what it needs to do - Keep players inside!

This resource uses a sphere that can expand as wide as me (or at maximum the entire map) and has a simple GUI that only contains what you need to know.

Videos & Images

In-Game Showcase:

https://streamable.com/zrlgw

In-Game GUI:

image
Josh Peck demonstrating the AOP’s shape:

tenor

Instructions
  1. Download it.
  2. Edit the config.lua to your liking, add yourself and other staff’s steamid’s to the admins table.
    2.a. You can use ACE permissions instead with the permission “lance.aop”
  3. Profit. Enjoy your dictatorship!
Commands
  • /aop [cmd] - switches to the AOP associated with that cmd.
  • /aop list - lists each AOP available for selection.
  • /aop start - turns on the restricted AOP functionality.
  • /aop stop - turns off the restricted AOP functionality and turns into state-wide AOP.
  • /aop priority - toggles the priority status.
  • /aop peacetime [minutes] - sets the peacetime timer to the amount specified. Set minutes to 0 to disable peacetime.

Download:

5 Likes

Y’all I’m so proud of my dad for getting his maths right

2 Likes

All hail Kim Jon Unnnnnnnnn.
probably spelt that wrong

This is really cool lance good job.

1 Like

No ties to ESX or vRP. I like it.
Good work.

1 Like

Why are you using steam ids? Why hasn’t everyone switched over to ace yet?

If you look at the source code, you can use “lance.aop” for ACE permissions :stuck_out_tongue:

Nice edit :stuck_out_tongue:
image

All thanks to you papa

When I type any of the commands I just get a bunch of stuff in chat

https://gyazo.com/a65578901f985f84626707b1db5d97fe

Hey, check out this commit to the native reference i did. I found the native that GTA:O uses for penned in (which creates a large sphere). This should be less buggy to use and also matches the radius size like you wanted.

1 Like

aces are 10/10

UPDATE: v1.2 - Fixes the errors when changing AOP.

If a player is on the outside of the sphere, will they be able to enter into the sphere? or will they be stuck on the outside?

They will be teleported inside the sphere, upon joining they will be teleported to the middle of the sphere I believe.

Hey @LGDevelopment Just wanted to what happens when you change AOP? Does it just TP everyone to the AOP or will it let them have the time to move? Also is priority/peacetime optional?

could anybody tell me how i can set the AOP to SandyShores Harmony And GrapeSeed

How to get multiple spawnpoints on area

is there anyway to disable the teleport when you change aop ?

Casual Racism!