Advanced Spectate

10.00 USD

Package Description

Advanced Spectate System

check Forum for more info

The Spectate system you always wanted !

with full support of ONESYNC INFINITE  AND Talking/Hearing players on spectate !

Features:

* OneSync infinite Support !

* Voice system support ! (tested with mumble-voip , pma-voice and toko-voip)

* Configurable Menu

* Player in game info

* Player vehicle info

* Player session time (how many hours/minutes/seconds this player is connected to server)

* Player Informations :
* Player Name
* Player Server ID
* Player Client ID
* Player Ped ID
* Player Health
* Player Armor
* Player Rag doll
* Player Godmod
* Player Running state
* Player Talking
* Player Coordinate
* Player Vehicle info (while in vehicle)



* Clientside Weather / Time change ! (more information below)

* Full Player List

* Search Player by name

* Support for ESX player inventory / money (optional)

* Easy Permission system (support ESX group as well)

* Support both command and key bind to use spectate menu (and even no menu)

* Custom Easy language configuration (multi language support)

* In game settings for Spectator control (mouse movement / zoom)

* Cross server compatibility for spectate settings (more information below)

* Optimized script (more information below)

* Automatic OneSync Detection (no need to configure anything, it will automatically switch between OneSync enabled, infinite and disabled !)

* Automatic ESX Detection (no need to configure anything , ESX will be automatically enabled if your server is ESX)

* Security (no backdoor for non-admin players to access or use any part of this script)

You can watch this video to see how this script work :
https://vimeo.com/579075033

---
Dependencies :
NONE ! (Of course ESX gonna be one, if you WANT to use it, but it is optional)

NOTES :

Only OneSync infinite ? : 
No, you can also use it for normal server with legacy OneSync, or even without OneSync at all !

Does voice works on spectate?
YES, It works on every available VOIP script currently available

What API does the menu use ?
It uses a Modified version of WarMenu by warxander

Clientside Weather / Time change , what that even mean ?
So, you are spectating somebody, and it is storming in the middle of the night, you cant even see anything !
but, now you can just change the Time and Weather , only for yourself !
Nobody else Weather/Time will change, and you can do whatever you want !
make sure to watch the video to undrestand how this works
Important note : if you are using any sync script that use loops to sync the weather/time (like vMenu) it could cause artifacts sometimes, but nothing will broke, only some artifacts..

What is cross server compatibility for settings ?
Every setting you change , will be saved on your PC , so you will have the same settings if you are (for ex. admin) on multiple servers, no need to change the settings every single time you load in new server

Can i open menu from other scripts ?
Yes, there is 2 exports already available to use :
exports.AdvancedSpectate:HavePermission() check for permission
exports.AdvancedSpectate:OpenMenu() open menu (only if player have permission)

Optimized ? show me the resmon !!
before you look at resmon, dont forget that the Menus (every menu, not only warmenu, warmenu is very optimized) will take more msec on CPU than no menu at all (duh)

here we go :

Idle Usage for admins : 0.02 ms

Idle Usage for normal clients : 0.00 ms (no performance hit at all)
Main Menu opened : 0.12 ms
Online Players Menu : 0.15 - 0.20 ms (could be up to 0.50ms on very high player servers)
Search Menu : on search input : 0.02ms , on Searched players menu : Same as online players menu
Spectating with menu closed : 0.07 ms
Spectating with menu opened : 0.20 ~ 0.50 ms
NOTE : Spectating players will have No performance hit on them

Is this obfuscated ?
All main functions Like : menus , permissions and ... are available for you to edit !
there is only some small functions obfuscated, only because of the issues i had with my Second Hand Vehicle Script..
hope you undrestand :heart:
---
Installation Steps :
Installation is as simple as drag -> drop in resources -> add `start AdvancedSpectate` in your server cfg -> Configure the config.lua file as you want -> Done !

Check out my other scripts :
https://forum.cfx.re/t/esx-exm-second-hand-vehicle-v1-2-2-sell-your-used-cars-to-other-players
https://forum.cfx.re/t/esx-advancedneeds-advancedstatus/2859389
https://forum.cfx.re/t/esx-advanced-job-system/2616104
https://forum.cfx.re/t/standalone-esx-advanced-kit-system
https://forum.cfx.re/t/esx-v1-exm-esx-adminplus/1202550