Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. function promptShin()
  2. local shin = svo.stats.shin
  3. if not shin or shin == 0 then
  4. shin = ""
  5. else
  6. shin = " <" .. (shin < 25 and "red" or shin < 60 and "yellow" or shin < 75 and
  7. "green_yellow" or shin < 100 and "a_darkgreen" or "a_green") ..">".. shin
  8. end
  9. return shin
  10. end
  11. svo.adddefinition("@shin","promptShin()")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement