# uniqers-announces

<figure><img src="/files/hy3wVyUAkUtMzMR0NW5R" alt=""><figcaption></figcaption></figure>

<figure><img src="https://dunb17ur4ymx4.cloudfront.net/packages/images/c7865733b5e8b79d8cc432bb5287d3d18bc060d0.jpg" alt=""><figcaption></figcaption></figure>

## How to install

First\
Please import uniqers-investments-database.sql your database.\
after open your server server.cfg or what u use cfg.\
add this code

ensure uniqers-announces\
or\
start uniqers-announces

save and close.

and select your framework qb or esx or old qb or old esx or standalone then save

if u use command send announce for admin and console or txtadmin console you can set up this and use.\
open your permission.cfg

```
add_ace group.admin uniqers allow # allow all commands for uniqers Script admins
add_ace group.moderator uniqers allow # allow all commands for uniqers Script moderators
add_ace group.moderator uniqers.cmds deny # disallow uniqers Script Perms for moderators
add_principal identifier.steam:HEX-ID-HERE group.admin
```

after this you can send announce big or small or save via txtadmin console or server console with rcon.

/addannrcon AUTHOR HEADER MESSAGE IMAGEURL ICONRUL DIPLAYTIMESECOND TYPEANNOUNCE SAVE\
/addannrcon lspd discount COMETOHQ [www.lpsd.com/logo.png](http://www.lpsd.com/logo.png) [www.lpsd.com/logo.png](http://www.lpsd.com/logo.png) 5 small yes

or if u have other any script like txtadmin.\
you can trigger for announce this events.

small announce not saved

```
TriggerServerEvent("small:announce:server", author, header, message, image, icon, displaytime)
```

big announce not saved

```
TriggerServerEvent("big:announce:server", author, header, message, image, icon, displaytime)
```

saved events

```
TriggerServerEvent("uniqers-announce:save:ann", dates, author, header, message, image, icon)
```

and this is for txtadmin this is just an example we dont support for this.

> > 100 mean 10 seconds

For TXADMIN FUCTIONS SIMPLE

```
-- Data will be an object with a message attribute
RegisterSecureNuiCallback('sendAnnouncement', function(data, cb)
--TriggerServerEvent('txsv:req:sendAnnouncement', data.message)
TriggerServerEvent("big:announce:server", 'STAFFS', 'ANNOUNCE', data.message, 'https://media.rockstargames.com/rockstargames/img/global/news/upload/actual_1356731868.jpg', 'https://media.rockstargames.com/rockstargames/img/global/news/upload/actual_1356731868.jpg', 100)
cb({})
end)
RegisterNetEvent('txsv:req:sendAnnouncement', function(message)
local src = source
if type(message) ~= 'string' then
return
end
local allow = PlayerHasTxPermission(src, 'players.message')
TriggerEvent('txsv:logger:menuEvent', src, 'announcement', allow, message)
if allow then
PrintStructuredTrace(json.encode({
type = 'txAdminCommandBridge',
command = 'announcement',
author = TX_ADMINS[tostring(src)].username,
message = message,
}))
end
end)
```

and start your server and login your character then use open command for script.

done anjoy!

### Support & Updates & Questions <a href="#support-and-updates-and-questions" id="support-and-updates-and-questions"></a>

![https://discord.gg/MyrGhbf9tM](https://uniqers-scripts-docs.gitbook.io/~gitbook/image?url=https%3A%2F%2F1436200110-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FZO8XqahJMWr9lDZTL9c1%252Fuploads%252F6U1vJg05XehtFcmGXsMW%252F3670325.png%3Falt%3Dmedia%26token%3D603ba3cd-283e-42c5-a0e2-13d33fefb5bd\&width=768\&dpr=4\&quality=100\&sign=80843ce\&sv=2)

<https://discord.gg/MyrGhbf9tM>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://uniqers-scripts-docs.gitbook.io/uniqers-scripts-docs/uniqers-announces.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
