Zombies Counter Crashing BO2
-
Any zombie counter that i try, that "works" it crashes, the others are script failures, I have the crash file pls help.

the .dmp file: https://we.tl/t-PehZeAJbR1
Without the zombie counter script it works fine
My discord: ThugDuck12#3747
-
Any zombie counter that i try, that "works" it crashes, the others are script failures, I have the crash file pls help.

the .dmp file: https://we.tl/t-PehZeAJbR1
Without the zombie counter script it works fine
My discord: ThugDuck12#3747
ThugDuck12 Try this
init() { level thread onPlayerConnect(); } onPlayerConnect() { for(;;) { level waittill("connected", player); player thread drawZombiesCounter(); } } drawZombiesCounter() { self.zombiesCounter = maps/mp/gametypes_zm/_hud_util::createFontString( "hudsmall" , 1.9 ); self.zombiesCounter maps/mp/gametypes_zm/_hud_util::setPoint( "CENTER", "CENTER", "CENTER", 190 ); while( true ) { self.zombiesCounter setValue( ( maps/mp/zombies/_zm_utility::get_round_enemy_array().size + level.zombie_total ) ); if( maps/mp/zombies/_zm_utility::get_round_enemy_array().size + level.zombie_total != 0 ) self.zombiesCounter.label = &"Zombies: ^1"; else self.zombiesCounter.label = &"Zombies: ^6"; wait 0.05; } } -
Cahz niceee it worked, thanks a lot

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login