Instrukcja instalacji
Wyświetlanie prośby
Strona klienta
exports [‘okokRequests’]:requestMenu(target, time, title, message, trigger, side, parameters, parametersNum)
Strona serwera
TriggerClientEvent(‘okokRequests:RequestMenu’, source, target, time, title, message, trigger, side, parameters, parametersNum)
Pola:
- The cel pole określa, kto otrzymuje prośbę;
- The czas pole pozwala ustawić czas, przez który okno prośby pozostanie na ekranie;
- The tytuł pole, w którym ustawiasz tytuł prośby;
- The wiadomość pole pozwala wybrać wiadomość, która pojawi się w oknie prośby;
- The wyzwalacz pole, w którym wybierasz zdarzenie, które zostanie wykonane;
- The strona (client/server) pole pozwala wybrać, czy wyzwalacz jest po stronie klienta czy serwera;
- The parametry pole zawiera parametry, które przyjmuje wyzwalacz;
- The liczba parametrów pole to liczba użytych parametrów.
Przykład
TriggerClientEvent(‘okokRequests:RequestMenu’, source, tonumber(args[1]), 10000, ‘<i class=”fas fa-question-circle”></i> Job Offer’, ‘Tommy wants to hire you.’, ‘client’, ‘parameter1,parameter2,parameter3,parameter4,parameter5’, 5)
Ważne
- The strona pole powinno być albo
clientLubserver; - The parametry pole musi być ciągiem znaków, wszystkie parametry muszą być oddzielone przecinkiem ‘,’ i bez spacji;
- Zawsze ustaw liczbę użytych parametrów, w liczba parametrów pole;
- Jeśli nie masz żadnych parametrów, nie musisz dodawać parametry oraz liczba parametrów pola.
Motyw ciemny/jasny
Aby włączyć/wyłączyć tryb ciemny/jasny, należy przejść do scripts.js pliku i przejść do linii 1, jeśli var darkMode jest ustawione na true, to motyw ciemny będzie włączony, w przeciwnym razie włączonym motywem będzie jasny.






Hayden (zweryfikowany) –
Great attention to detail. You can tell that a lot of work went into the design and functionality.
Cora (zweryfikowany) –
A promising product, worth trying
Deshawn (zweryfikowany) –
Great quality overall. The animations, interface, and functionality all feel polished.
LauraLoot (zweryfikowany) –
I rarely leave a comment, but this item is beyond worth it! Gotta let you guys know!
Baron (zweryfikowany) –
Everything is well organized and easy to edit. Even small details can be customized without changing the core files.
Angie (zweryfikowany) –
I want to say thanks to the support team for helping with my continuously silly questions, you’re the best!
Cristal (zweryfikowany) –
The script works perfectly on our server. Setup took only a few minutes, and the configuration file was easy to understand.
Jesse (zweryfikowany) –
Clean and optimized script. It works smoothly even with many players online.