Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. --Please Put the Following Function into functions.lua at the end:
  2.  
  3. function KickCha(character)
  4. local pkt = GetPacket()
  5. WriteCmd(pkt,1505)
  6. SendPacket(character,pkt)
  7. end
  8.  
  9. -- Please put the following Varaible into Variables.lua at the end
  10.  
  11. KickAllPlayers = false
  12.  
  13.  
  14. -- Please put the following snippet at the begining of cha_timer function in functions.lua:
  15.  
  16. if(KickAllPlayers == true)then
  17. KickCha(role)
  18. end
  19.  
  20. -- Command to kick is:
  21.  
  22. &lua_all KickAllPlayers = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement