Post: help with bo2 challenge bar
05-12-2015, 01:38 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I'm sure I have seen this arround. Can anyone link the code for this You must login or register to view this content. .

It's from mw2, I want it for bo2.
(adsbygoogle = window.adsbygoogle || []).push({});
05-12-2015, 07:46 PM #2
you can do that shit easily on bo2...

    challengeBar()
{
loadTime = 2.5; //in seconds
self.challengeBar = createPrimaryProgressBar();
self.challengeBar updateBar(0,1 / loadTime);
self.challengeBar.color = (0, 0, 0); //its color
for(waitedTime = 0; waitedTime < loadTime; waitedTime += 0.05)
wait 0.05;
self.challengeBar destroyElem();
}
05-12-2015, 09:10 PM #3
Originally posted by CxwhMods View Post
you can do that shit easily on bo2...

    challengeBar()
{
loadTime = 2.5; //in seconds
self.challengeBar = createPrimaryProgressBar();
self.challengeBar updateBar(0,1 / loadTime);
self.challengeBar.color = (0, 0, 0); //its color
for(waitedTime = 0; waitedTime < loadTime; waitedTime += 0.05)
wait 0.05;
self.challengeBar destroyElem();
}


Thanks a lot dude!
05-12-2015, 09:19 PM #4
Do I have to use overflow fix with this?
05-13-2015, 12:47 PM #5
No. No fontstring is created with this function

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo