Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bind p [showgui pstats; onrelease cleargui]
- newgui pstats [
- pst = [result (concat (getfrags) (getdeaths) (getaccuracy) (getflags) (substr (min 999999 (gettotaldamage)) 0 6) (substr (min 999999 (- (gettotalshots) (gettotaldamage))) 0 6) (substr (divf (maxf 0.0 (getfrags)) (max 1 (getdeaths))) 0 4) (substr (minf 999999 (divf (gettotaldamage) (max 1 (getdeaths)))) 0 6))]
- guilist [
- guilist [
- guitext "^f7Kills" 0
- guitext "^f7Deaths" 0
- guitext "^f7Accuracy" 0
- if (m_ctf (getmode)) [guitext "^f7Flags Scored" 0]
- guibar
- guitext "^f7Damage Dealt" 0
- guitext "^f7Damage Wasted" 0
- guibar
- guitext "^f7KpD" 0
- guitext "^f7DDpD" 0
- ]
- guilist [
- guitext (concat "^f7 :^f2" (at (pst) 0)) 0
- guitext (concat "^f7 :^f2" (at (pst) 1)) 0
- guitext (concatword "^f7 :^f2 " (at (pst) 2) "^%") 0
- if (m_ctf (getmode)) [guitext (concat "^f7 :^f2" (at (pst) 3)) 0]
- guibar
- guitext (concat "^f7 :^f2" (at (pst) 4)) 0
- guitext (concat "^f7 :^f2" (at (pst) 5)) 0
- guibar
- guitext (concat "^f7 :^f2" (at (pst) 6)) 0
- guitext (concat "^f7 :^f2" (at (pst) 7)) 0
- ]
- ]
- ] "Personal Stats"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement