[REQUEST] Admin PM Command

Hello, I’m looking for a script where admins can type /apm (id) to anonymously message the player to say for example “Please don’t do that” or something, and they can reply with /apmr (message)

with steam hex whitelist or something.
does anyone know of anything like this out there? or can help me create one

1 Like

Hello bro you can create it very easily thanks to the doc of Five M it is simple and fast like script to do

@SnowGuy Just did a quick search and found this:

Something like that could work - might have to change the code around a bit to your liking.

Hope this gets you somewhere - Cheers,

Dunning

1 Like

If the above is not what you’re after, you could probably modify this to match your needs:

1 Like

It says I don’t have permission to use the command even when I added myself to the whitelist.json file.

Did you add yourself, save the file, then restart server and rejoin?

It works now, But how can I remove “Warning issued by (player)”

Line 53:

https://github.com/inferno-collection/Warn/blob/08f3728341fd6723f9c909d57cecb4ab4ca5081b/[inferno-collection]/inferno-warn/client.lua#L53

Thank you so much, Exactly what I wanted.

1 Like