[Release] Area of Patrol - Set AOP - Ft. Draw Text, Peacetime & More [AOP] [3.4]

I have VPS and I have changed the time to my region, but the AOP still shows other time (I restarted the Server)

That INT are you using for the setting?

what do u mean?

nvm, i fixed it by adding ā€œhours=hours+3ā€ before drawTimeText

if localTime == 1 then -- client time
  year, month, day, hour, minute, second = GetLocalTime()
  newMinute = minute
  hour = hour + 3
  if minute < 10 then
    newMinute = "0" .. minute
  end
  drawTimeText = featColor .. "Time: ~w~" .. hour .. ":" .. newMinute .. featColor .." | Date: ~w~" .. day .. 
 featColor .."/~w~" .. month .. featColor .. "/~w~" .. year
1 Like

Thanks so much for this script dude, just recently rebuilt my server and i didnt have this for a while but i found your script and it was so easy to install! Is there any way to make it so pt is never an option like i dont have to turn it on or off but be able to keep the aop script in but take out the Pt Script?

Yep it’s all in the config file.

See PTCommand and peacetime in the Variable Docs Those will fully disable peacetime and remove it from the heads up display (HUD). If ya have issues ya know where to find me :stuck_out_tongue:

How do I do this discord permission setup?

You need to have the discord_perms resource set up, then edit the config in both scripts.

I can’t seem to find the way to move the aop. And I’ve tried in the config and the client.

How can i remove the date and put it to ingame time?

Edit:
So i found out how to change it so it takes in-game time but how do i remove the date stuff?

1 Like

The config file! :stuck_out_tongue:

1 Like

Yeah okay thanks i just changed it in the config so it takes the ingame time and so i removed all the year and date stuff in the clinet.lua

nice !

2 Likes

how do i get it to say the road name and the compass thing on the bottom of the screen?

That’s not apart of this resource. That resource would be called ā€˜Street Labels’.

Not sure if I set something up wrong, but the AoP will bump up to my statewide option for 30+ players, even when i’m the only player on the server. I’m pretty sure I set up the ace permissions correctly, but not sure what else could be affecting it.

Check the rest of the configuration file for the resource itself.

I’m having problems using multiple roles with the permissions. It only works with the first role and not the second unless I switch them around. It’s like the permissions are not looping through the roles; only picking up the first role and not the other ones.

Example:
usingDiscordPerms = true
discordRoleNames = {ā€œfivemdirectorā€, ā€œfivemadminā€}

Is there a permission system for this?

@FAXES Does this work for multiple discord roles in the config?