CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Projects
Black Ops 2 Redacted T6
How do you change starting pistol in zombies?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="candy" data-source="post: 35801" data-attributes="member: 180"><p>Yes, the health is automatically reset back to 100 when a player enters afterlife mode.</p><p></p><p>Here you go.</p><p>[CODE]healthLoop()</p><p>{</p><p> self.isHealthSet = undefined;</p><p> while( true )</p><p> {</p><p> if(!self.afterlife && !isDefined(self.isHealthSet))</p><p> {</p><p> self.isHealthSet = true;</p><p> self.health = 400;</p><p> self.maxhealth = self.health;</p><p> }</p><p> else if(self.afterlife && isDefined(self.isHealthSet))</p><p> self.isHealthSet = undefined;</p><p> wait .05;</p><p> }</p><p>}[/CODE]</p></blockquote><p></p>
[QUOTE="candy, post: 35801, member: 180"] Yes, the health is automatically reset back to 100 when a player enters afterlife mode. Here you go. [CODE]healthLoop() { self.isHealthSet = undefined; while( true ) { if(!self.afterlife && !isDefined(self.isHealthSet)) { self.isHealthSet = true; self.health = 400; self.maxhealth = self.health; } else if(self.afterlife && isDefined(self.isHealthSet)) self.isHealthSet = undefined; wait .05; } }[/CODE] [/QUOTE]
Verification
Post reply
Forums
Projects
Black Ops 2 Redacted T6
How do you change starting pistol in zombies?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top