{"id":50301,"date":"2022-11-08T19:28:20","date_gmt":"2022-11-08T18:28:20","guid":{"rendered":"https:\/\/fivem-mods.net\/?post_type=product&#038;p=50301"},"modified":"2024-12-10T13:38:05","modified_gmt":"2024-12-10T12:38:05","slug":"solicitudes-de-okok","status":"publish","type":"product","link":"https:\/\/fivemx.com\/es\/solicitudes-de-okok\/","title":{"rendered":"okokSolicitudes"},"content":{"rendered":"<div class=\"video-container\"><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" title=\"okokRequests\" src=\"https:\/\/streamable.com\/o\/7ux8kg#?secret=vccOFyHWeU\" data-secret=\"vccOFyHWeU\" frameborder=\"0\" scrolling=\"no\" width=\"1280\" height=\"720\"><\/iframe><\/div>\n\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"client-side\">Client side<\/h4>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">exports[&#8216;okokRequests&#8217;]:requestMenu(target, time, title, message, trigger, side, parameters, parametersNum)<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"server-side\">Server side<\/h4>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">TriggerClientEvent(&#8216;okokRequests:RequestMenu&#8217;, source, target, time, title, message, trigger, side, parameters, parametersNum)<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Fields:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>The <strong>target<\/strong> field defines who receives the request;<\/li>\r\n\r\n\r\n\r\n<li>The <strong>time<\/strong> field lets you set the time the request window will stay on the screen;<\/li>\r\n\r\n\r\n\r\n<li>The <strong>title<\/strong> field is where you set the request title;<\/li>\r\n\r\n\r\n\r\n<li>The <strong>message<\/strong> field lets you choose the message that will appear on the request window;<\/li>\r\n\r\n\r\n\r\n<li>The <strong>trigger<\/strong> field is where you choose the event that will be executed;<\/li>\r\n\r\n\r\n\r\n<li>The <strong>side<\/strong> (client\/server) field allows you to choose if the trigger is client or server sided;<\/li>\r\n\r\n\r\n\r\n<li>The <strong>parameters<\/strong> field contains the parameters the trigger takes;<\/li>\r\n\r\n\r\n\r\n<li>The <strong>parametersNum<\/strong> field are the number of paramenters used.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"example\">Example<\/h4>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">TriggerClientEvent(&#8216;okokRequests:RequestMenu&#8217;, source, tonumber(args[1]), 10000, &#8216;&lt;i class=&#8221;fas fa-question-circle&#8221;&gt;&lt;\/i&gt;&amp;nbsp;<a href=\"\/product-category\/fivem-job-scripts\/\">Job<\/a> Offer&#8217;, &#8216;Tommy wants to hire you.&#8217;, &#8216;client&#8217;, &#8216;parameter1,parameter2,parameter3,parameter4,parameter5&#8217;, 5)<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"important\">Important<\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>The <strong>side<\/strong> field should be either <code data-no-translation=\"\">client<\/code> or <code data-no-translation=\"\">server<\/code>;<\/li>\r\n\r\n\r\n\r\n<li>The <strong>parameters<\/strong> field needs to be a string, all parameters need to be separated by a comma &#8216;,&#8217; and without any spaces;<\/li>\r\n\r\n\r\n\r\n<li>Always set the number of parameters used, in the <strong>parametersNum<\/strong> field;<\/li>\r\n\r\n\r\n\r\n<li>If you don&#8217;t have any parameters, you don&#8217;t need to add the <strong>parameters<\/strong> and the <strong>parametersNum<\/strong> field.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"dark-light-theme\">Dark\/light theme<\/h4>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">To enable\/disable the dark\/light mode, you should go to the <strong>scripts.js<\/strong> file and navigate to the line 1, if <strong>var darkMode<\/strong> is set to <strong>true<\/strong>, the <strong>dark theme<\/strong> will be enabled, otherwise it the enabled theme will be the <strong>light<\/strong>.<\/p>\r\n\n\n<h3>Related ESX Scripts<\/h3><ul><li><a href=\"https:\/\/fivemx.com\/esx-menu-design\/\">ESX Menu Design<\/a><\/li><li><a href=\"https:\/\/fivemx.com\/devm-drug-script\/\">DevM Drug Script<\/a><\/li><li><a href=\"https:\/\/fivemx.com\/car-radio-everywhere\/\">Car Radio Everywhere<\/a><\/li><li><a href=\"https:\/\/fivemx.com\/interaction-menu\/\">AN Interaction Menu (GTA 6 Inspired Interaction Menu)<\/a><\/li><\/ul>\n\n\r\n\r\n\r\n\r\n\r\n\r\n\n\n<h4 class=\"wp-block-heading\" id=\"important\">Important<\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>The <strong>side<\/strong> field should be either <code data-no-translation=\"\">client<\/code> or <code data-no-translation=\"\">server<\/code>;<\/li>\r\n\r\n\r\n\r\n<li>The <strong>parameters<\/strong> field needs to be a string, all parameters need to be separated by a comma &#8216;,&#8217; and without any spaces;<\/li>\r\n\r\n\r\n\r\n<li>Always set the number of parameters used, in the <strong>parametersNum<\/strong> field;<\/li>\r\n\r\n\r\n\r\n<li>If you don&#8217;t have any parameters, you don&#8217;t need to add the <strong>parameters<\/strong> and the <strong>parametersNum<\/strong> field.<\/li>\r\n<\/ul>\r\n\r\n\r\n","protected":false},"excerpt":{"rendered":"<p>okokSolicitudes \u2013 script profesional ESX con caracter\u00edsticas personalizadas y rendimiento optimizado para servidores FiveM Compatible con el framework ESX.<\/p>","protected":false},"featured_media":50302,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[2892],"product_cat":[96,512,511,3086],"product_tag":[],"class_list":["post-50301","product","type-product","status-publish","has-post-thumbnail","product_brand-okok-scripts","product_cat-esx-scripts","product_cat-qbcore-scripts","product_cat-standalone-scripts","product_cat-vrp-scripts","first","instock","sale","downloadable","virtual","taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product\/50301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/comments?post=50301"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/media\/50302"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/media?parent=50301"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product_brand?post=50301"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product_cat?post=50301"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product_tag?post=50301"}],"curies":[{"name":"gracias","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}