Advertisement
einsteinmaster96

test

Jan 31st, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. function
  2.  
  3.  
  4. local arglength = table.getn(arg)
  5. local legth = 1
  6. local width = 1
  7. local heigth = 3
  8.  
  9. if arglength > 0 then
  10. legth = arg[0]
  11. if arglength > 1 then
  12. width = arg[1]
  13. if arglength > 2 then
  14. heigth = arg[2]
  15. end
  16. end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement