Add to cart
Sale!

okokRequests

Original price was: $8.99.Current price is: $3.99.

-56%

Set the:

  • Title;
  • Message;
  • Time.

GUIDE down below!  

(7 customer reviews)
Add to Cart
okok requests
okokRequests
$8.99 Original price was: $8.99.$3.99Current price is: $3.99.

Direct Download of the FiveM Mod

  • 30 days easy returns (Money-back-Guarantee)
  • Support included
  • Fully Open Source
Guaranteed Safe Checkout

[fusion_builder_container hundred_percent=”yes” overflow=”visible”][fusion_builder_row][fusion_builder_column type=”1_1″ background_position=”left top” background_color=”” border_size=”” border_color=”” border_style=”solid” spacing=”yes” background_image=”” background_repeat=”no-repeat” padding=”” margin_top=”0px” margin_bottom=”0px” class=”” id=”” animation_type=”” animation_speed=”0.3″ animation_direction=”left” hide_on_mobile=”no” center_content=”no” min_height=”none”]

 

Installation Guide

Displaying a request

Client side

exports[/fusion_builder_column][fusion_builder_column type=”1_1″ background_position=”left top” background_color=”” border_size=”” border_color=”” border_style=”solid” spacing=”yes” background_image=”” background_repeat=”no-repeat” padding=”” margin_top=”0px” margin_bottom=”0px” class=”” id=”” animation_type=”” animation_speed=”0.3″ animation_direction=”left” hide_on_mobile=”no” center_content=”no” min_height=”none”][‘okokRequests’]:requestMenu(target, time, title, message, trigger, side, parameters, parametersNum)

Server side

TriggerClientEvent(‘okokRequests:RequestMenu’, source, target, time, title, message, trigger, side, parameters, parametersNum)

Fields:

  • The target field defines who receives the request;
  • The time field lets you set the time the request window will stay on the screen;
  • The title field is where you set the request title;
  • The message field lets you choose the message that will appear on the request window;
  • The trigger field is where you choose the event that will be executed;
  • The side (client/server) field allows you to choose if the trigger is client or server sided;
  • The parameters field contains the parameters the trigger takes;
  • The parametersNum field are the number of paramenters used.

Example

TriggerClientEvent(‘okokRequests:RequestMenu’, source, tonumber(args[1]), 10000, ‘<i class=”fas fa-question-circle”></i>&nbsp;Job Offer’, ‘Tommy wants to hire you.’, ‘client’, ‘parameter1,parameter2,parameter3,parameter4,parameter5’, 5)

Important

  • The side field should be either client or server;
  • The parameters field needs to be a string, all parameters need to be separated by a comma ‘,’ and without any spaces;
  • Always set the number of parameters used, in the parametersNum field;
  • If you don’t have any parameters, you don’t need to add the parameters and the parametersNum field.

Dark/light theme

To enable/disable the dark/light mode, you should go to the scripts.js file and navigate to the line 1, if var darkMode is set to true, the dark theme will be enabled, otherwise it the enabled theme will be the light.

[/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]

7 reviews for okokRequests

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.