Jump to content
Sign in to follow this  
Lala14

How to disconnect a uav via script?

Recommended Posts

I was looking on a way to disconnect a user from the uav through a command.

I went on to the wiki and found this, connectTerminalToUav.

I went on to try using this code but its not working :/

["<t color='#680006'>Delete me!</t>", {false = player connectTerminalToUav (_this select 0); sleep 1; deleteVehicle (_this select 0)}]

or

["<t color='#680006'>Delete me!</t>", {false = (_this select 1) connectTerminalToUav (_this select 0); sleep 1; deleteVehicle (_this select 0)}]

I believe the issue is with connectTerminalToUav as before hand when deleting the vehicle it was fine, the only issue was that once the vehicle is deleted you are frozen up and can't do anything, even respawning would not help but instead you would have to reconnect to the server to fix the issue

Edited by Lala14

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×