Mail & Quest System

If you are going to use the Quest system for Mail, we require you to have general programming knowledge or a programmer to help you achieve such a scenario.

Quasar Smartphone has a very advanced Mail system that can be inserted into other assets with optional Quest. We can also use it through commands.

Can I send an email to another specific player?

No, with the current version you cannot do such a thing, if you upgrade to the PRO version you will be able to enjoy accounts, emails between players and more unique features. This current system is simply for administrative command, use on external assets or missions.

Are these events compatible with the PRO version?

Yes, the PRO version will also read current events from Mail and Quest and will be instantly compatible.


Mail integration into other assets

We had an integration on the server side, but for reasons of complexity we decided to remove it to make it exclusive to the client-side.

The Mails integration will always be executed client-side, do not try to execute it on the server side to save yourself problems and perhaps some errors. Send the information to the client side and execute the following event.

TriggerServerEvent('qs-smartphone:server:sendNewMail', {
    sender = 'Robby Williams',
    subject = 'Hey bro, how are you?',
    message = 'Soon we will launch more versions and this will be more complete, what are you waiting for to get this great phone brother?',
    button = {}
})

Quest integration in Mail

If you cannot achieve this, contact an experienced programmer, do not involve us in your internal projects as we have a lot of order density and they are not jobs that we can take on ourselves for you.

With the Quest system and its button, we can add different functions when accepting an Mail, within the Mail we will have buttons to accept or reject the mission that we send using the event button.

TriggerServerEvent('qs-smartphone:server:sendNewMail', {
    sender = 'Robby Williams',
    subject = 'Hey bro, how are you?',
    message = 'Soon we will launch more versions and this will be more complete, what are you waiting for to get this great phone brother?',
    -- Execution example for the button
    button = {
        enabled = true,
        buttonEvent = 'gangs:client:setLocation',
    }
})

Administrative Mail Command (ads)

This command can be sent using quotes to be able to send long texts.

The Mail system does not end here, we also have a brief command to give community announcements, this command will send an Mail to the entire server giving it a general message.

The way the command is used can be done with quotes to send long texts. The command is very simple, we can use it in the following way /sendmail subject message.

/sendmail "Important" "Players please disconnect from the server for brief maintenance."

Last updated

Was this helpful?