Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. checkammo = [
  2. if (|| (= $connected 1) (= (curmodeattr bot) 1)) [ // Check if in a bot match or playing online before spamming...
  3. if (= (currentprimary) 6) [ // Check if player is using AR...
  4. if (>= (magcontent (currentprimary) 5)) [ // Check if they have 5 rounds or less in it...
  5. echo (c 3)RELOAD NOOB // Show the warning until they reload it...
  6. ] [ // Else...
  7. if (= (magcontent (currentprimary) 0) [ // If player's current primary weapon is out of ammo...
  8. echo (c 3)RELOAD NOOB // Show the warning until they reload it...
  9. ] []]] []] []
  10. sleep 1 [checkammo] // Loop the checks every millisecond to be as accurate as possible. Increase this value if you notice lag on older machines with this script...
  11. ]
  12.  
  13. if (strstr $mapstartalways checkammo) [] [ // Automate the checks for every new map load...
  14. add2alias mapstartalways [sleep 5 [checkammo]]
  15. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement