Guest User

Untitled

a guest
Aug 17th, 2021
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.15 KB | None | 0 0
  1. function clamp(value, minimum, maximum)
  2.     if value < minimum then value = minimum end
  3.     if value > maximum then value = maximum end
  4.  
  5.     return value
  6. end
Advertisement
Add Comment
Please, Sign In to add comment