[Release] Area of Patrol - Set Area of Patrol, Draw Text & Time Included [AOP] [2.9]

roleplay
fivem-scripts
release
aop
standalone

#307

Umm. I’ll look into that today.


#308

Make sure PTOnMessage and PTOffMessage aren’t nil.


#309

Well i mean default was:


#310

‘default’? Where from? Direct download?


#311

Yup, for me at least


#312

The download doesn’t change between users? I just downloaded it and those lines aren’t commented out. Perhaps you’re using an out of date version?


#313

How would i get rid of the PTOnMessage and PTOffMessage?


#314

Yeah i have had this since 2.7


#315

You need to remove the --- at the start of the lines.

:thinking:, perhaps the download for 2.7 was broke or something. Anyway, install the latest version, that’ll resolve your issue.


#316

So to disable the Peacetime on/off message i should remove the —


#317

No… to remove the {0}:{1} error, remove the --- at the start of the lines. Commenting the lines will not remove the message, instead, it will make the variable nil.


#318

So do you know how i would go about removing the PT on/off message?


#319

Just set it to "".


#320

Thanks


#321

Yes . 2.7 Was a broken version hence 2.8 and now the updated 2.9


#322

/pt does not disable pvp?


#323

First of all thanks for this great script. However I’m running into an issue with /vote. /voteaop works but actually voting gives me an error running call reference in server.lua and schedular.lua. Any ideas?


#324

sometime in the future will you be adding a way so cops and admins can still shoot during peacetime?


#325

I have this within my server but don’t plan to add as I would have to define groups that can still shoot, which is not the point of this script really.


#326

how do i enable this like i have it in my server but it doesnt turn on so i cant see the aop, pt, etc