So I have tried to install "plusscore" from iznos cod4mod, but it gets some error when developer is set to 1,
Code:
******* script runtime error *******
pair 'undefined' and '2' has unmatching types 'undefined' and 'float': (file 'maps/mp/gametypes/_plusscore.gsc', line 7)
while(self.scoresize<2.0 && isdefined(self.hud_plusscore))
*
I did all stuff just like needed:
Code:
onPlayerConnect();
self.scoretoshow=0;
Code:
onPlayerSpawned();
self.scoretoshow=0;
self.scoresize=0.5;
self.scorealpha=0.3;
And called the hud:
Code:
precacheString(&"IZNO_PLUS");
So whats wrong?