Advertisement
jesusthekiller

update2

Mar 10th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. local rsData = wcon.getRsData()
  2.  
  3. if (rsData == "no_server") then
  4.     print("WCON: No server")
  5.     return
  6. end
  7.  
  8. if (rsData == "fatal") then
  9.     return
  10. end
  11.  
  12. for i = 1, 6 do
  13.     rs.setOutput(wcon.getSide(i), rsData[i])
  14.     if(rsData[i]) then
  15.         print(wcon.getSide(i).." = true")
  16.     else
  17.         print(wcon.getSide(i).." = false")
  18.     end
  19. end
  20.  
  21. print("---")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement