Advertisement
Guest User

Untitled

a guest
Jun 12th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. or _,pnow in ipairs(minetest.get_connected_players()) do
  2.  
  3. local tuser = pnow:get_player_name()
  4.  
  5. local protv = nil
  6.  
  7. if minetest.get_player_information(tuser).protocol_version then
  8. protv = minetest.get_player_information(tuser).protocol_version
  9. end
  10.  
  11. if protv == nil then
  12. minetest.log("error","PROTV SOMEHOW IS NIL")
  13. end
  14.  
  15. if protv ~= nil then
  16. if protv < 27 then
  17. bcmsg = minetest.strip_colors(bcmsg)
  18. end
  19. end
  20.  
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement