Another Simple AOP
Just another Simple AOP script.
I’m getting started making plugins and wanted to make a simple AOP script.
I designed it with Street Label and Nearest Postal in mind.
If you’re also using those scripts, the default position works well when you change:
Street Label’s position to x: 17.55, y: 7, and
Nearest Postal’s position to x: 0.176, y: 0.935.
Features
/setaop
- Use this followed by the Area of Play/Patrol to set the current AOP/clearaop
- This command will clear the current AOP and will set the default string.
Contains multiple Configuration options:
DoSaves
- true/false whether the script should save its state. Will save the AOP for when the server crashes/restarts.DefaultNone
- This is what the AOP will default to. Used on server start, when server restarts while DoSaves is false and when/clearaop
is run.posX / posY
- Used to give fine control over the position of the AOP display.TextScale
- Sets the size of the display.DisplayText
- Sets the text given before the current AOP. (“Current AOP:”)
Well, despite that:
Here is your download link
1.1.0
SimpleAOP.zip (2.9 KB)
1.0.0 - BROKEN
SimpleAOP.zip (2.1 KB)
If you want anything added, feel free to make suggestions in the comments!
Also, if anyone has any suggestions for simple scripts I could write to get into FiveM Scripting, feel free to leave a comment about that as well.