Advertisement
Guest User

Untitled

a guest
Nov 3rd, 2012
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. if pos.x > floor(pos.x)+0.5 then
  2.     if pos.z > floor(pos.z)+0.5 then
  3.         <insert code here to place at {floor(pos.x)+1, floor(pos.y), floor(pos.z)+1}>
  4.     else
  5.         <insert code here to place at {floor(pos.x), floor(pos.y), floor(pos.z)}>
  6.     end
  7. else
  8.     if pos.z > floor(pos.z)+0.5 then
  9.         <insert code here to place at {floor(pos.x), floor(pos.y), floor(pos.z)+1}>
  10.     else
  11.         <insert code here to place at {floor(pos.x), floor(pos.y), floor(pos.z)}>
  12.     end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement