Update I have finished fixing anything that I thought was unclear. During this, I realized that the pseudocode I wrote for this is almost completely based off of other features the maverick client already uses, making me feel good about posting the Pseudocode here.
Disclaimer: I have not looked at modified or tampered with anything made by maverick cheats. The only reason I am posting this is that having a baseline to start off of is a great boost when you're developing a program also I only wanted to post a file earlier because it is easier to read. Other than that let me know if you see any errors or want to discuss something you are unclear about.
Begin document:
Something I've been thinking about after reading this thread is a possible workaround for teleporting players to you. If it is possible to force nearby players to enter a vehicle, then why not have the user spawn standardized vehicle such as a deluxo or a motorbike or buggy to teleport the person to their present location?
##player to me teleport pseudocode
##JosephFL5 11/25/18
#selecting target
The user selects teleport to me option
Hack client prompts the user for the destination from preset and waypoint
Hack client spawns tp vehicle near the user
##some type of bike or buggy would be best
Hack client teleports user to grounded TP point
The user selects the target player
Hack client checks vehicle for unique vehicle class mod
If true: next
If false: prompt warning message w/ if else
If user selects no stop script
Else proceed
#retreving target
Hack client:
black screen the target player (no text)
removes noise from the target player
Disengage never wanted
Engage god-mode
Check user wanted if wanted clear the wanted level
Engages god-mode on the target player
Give the target player wanted level
#teleporting to target
##This is the part I'm not sure about
Spawn on top of the target player
*god mode required*
Or
Hack client teleports user just far enough the left of the target player not to crush them
*no god mode needed*
Or
Hack client: For deluxo as standard vehicle
Engages fight mode
Teleports the user to the target player
Flies to the left to not crush the target player
Disengages flight mode
*no god-mode needed*
##resume retrieving target
Hack client:
Force the target player to enter tp vehicle
## Either through forced action or troll with a popup in the "black" screen reading press F to re-connect
Define wanted test loop
Test wanted
wanted = true then
tp(location)
end
wanted = false then
*wait time? Repetitively running this loop without a wait time may cause lag.*
execute wanted loop
##maybe add some wait time here if it's needed or add a user function with a slide bar.
##possible trolling opportunity when using a waypoint consider using including give parachute loop
Destroy vehicle
Remove wanted for all (passengers and user)
##This order causes the user not to be wanted because the destroying the vehicle can give a wanted level.
force exit all (if no force exit exists "black" screen the player again with same, please press F message)
##If the user is using their personal vehicle the actions menu can remove the passenger
Remove god-mode for the target player
##Moving this line to below the destroy vehicle command makes target die of fall damage.
Remove the target player's lack of sound
Remove the target player's black screen
Remove the users god-mode