Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2015
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. init start
  2. local HealthName = getuseroption('HealthName')
  3. local MinHealth = tonumber(getuseroption('MinHealth'))
  4. local ManaName = getuseroption('ManaName')
  5. local MinMana = tonumber(getuseroption('MinMana'))
  6. local AmmoName = getuseroption('AmmoName')
  7. local MinAmmo = tonumber(getuseroption('MinAmmo'))
  8. local MinCap = tonumber(getuseroption('MinCap'))
  9. init end
  10.  
  11. auto(1000)
  12. if $wptsection == "Spawn" and not $trapped then
  13. if (itemcount(HealthName) <= MinHealth) or (itemcount(ManaName) <= MinMana) or (itemcount(AmmoName) <= MinAmmo) or ($stamina <= tonumber(getuseroption("StaminaCheck")) *60) or ($cap <= MinCap) then
  14. if $posz == 12 then
  15. onlyiftrapped("yes")
  16. stopattack()
  17. setlooting("no")
  18. setsetting("Alerts/PlayerOnScreen/PlaySound", "no")
  19. gotolabel(0, "Leave Spawn")
  20. wait(10000)
  21. end
  22. end
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement