Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make a player disconnect?
Author Message
Capes
Journeyman
*

Posts: 57
Likes Given: 0
Likes Received: 4 in 4 posts
Joined: Mar 2018
Reputation: 0



Post: #11
RE: How to make a player disconnect?
I also found that the code below will disconnect anyone of any plevel even the owner using 0.56d

[FUNCTION f_leave]
TRYSRV serv.uid.<uid>.disconnect
timerf 1, TRYSRV serv.uid.<uid>.disconnect

Then it prints this to the console
A'Admin' was DISCONNECTed by 'Old Felucca' <-- were 'Old felucca' is the name of my shard.

I'm assuming the above bypasses the priv checks but I don't really know for sure.

Capes
04-12-2018 04:42 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)