tofu-satellite
FiveM client-side spy satellite that can automatically track players, or use manually with keyboard controls.
This resource could be used in cases like accessing a laptop or as a result from some sort of hacking/minigame.
Features
- Automated tracking mode
- Manual tracking mode (
w
,a
,s
,d
to move around, scroll wheel to zoom) - Simulated rotaton / angle shift to represent to some degree orbital shifts
- Configurable timeout, zoom, speed, and camera rotations
- Tracks players that are out of view with indicator arrows
Dependencies
Note: If you want to run this without qb-core dependency, simply delete server/commands.lua
and substitue the qbcore arithmatic functions with an equivalent in client/threads.lua
.
How to use
Simply invoke the client-side event with the list of players that you want to track. Press spacebar
to exit.
local players = {"-1"}
TriggerClientEvent('tofu-satellite:open', -1, players, 0)
-- TriggerClientEvent('tofu-satellite:open', -1, <table of players>, <timeout in seconds, 0 = disabled>)
Commands
To help demonstrate capabilities, the following commands are included by default (restricted to those with qb-core admin priviledges).
trackallplayers
- tracks all players in the server (will probably be laggy with large numbers)trackallplayerstimeout
- same as above, but includes a 30s timeout window at which point the user will lose access to the satellite.trackphone
- track a player by their phone numbermanualtracking
- allow the player free-roam access with the satellite (doesn't show tracker icon around any players)