[PAID]📧 Request System [STANDALONE]

A script by ArizonaDevelopment

No reviews yet.
[PAID]📧 Request System [STANDALONE] main image

Price

Unknown

Full Description



A simple system for the player to receive a request. It can be used for anything e.g. interaction animation between players, rejecting/accepting of calls…

:movie_camera: Preview

:page_facing_up: Documentation


Trigger


TriggerEvent(“ad_request:displayrequest”, DisplayRequest)

Export


exports.ad_requestsystem:DisplayRequest()


Example

DisplayRequest({
    icon = 'fa-solid fa-phone-volume ', 
    label = ' Jack Dealer', 
    question = 'Do you want to answer', 
    align = 'top', 
    bgcolor = 'yellow', 
    textcolor = 'black', 
    acceptcolor = 'orange', 
    rejectcolor = 'red', 
    onAccept = function() 
        print('accepted')
    end,
    onReject = function()
        print('rejected')
    end,
})

:gear: Config File

Config = {}

Config.Keys = {
    ['accept'] = {
        246 -- mean which key, 
        'Y', -- mean label of key
        'Accept' -- mean label of button
    }, 
    ['reject'] = {249, 'N', 'Reject'}
}

Config.DefaultSettings = {
    ['align'] = 'bottom',
    ['bgcolor'] = '#010a1ba3',
    ['textcolor'] = '#fff',
    ['acceptcolor'] = '#0f50b1',
    ['rejectcolor'] = '#a11212',
}

:shopping_cart: Purchase OPEN SOURCE OR FIVEM ASSETS

Code is accessible No
Subscription-based No
Lines (approximately) ~ 200
Requirements Nothing
Support Yes

Config Merger
Have you tried Config Merger? Merge your configs easily