points = int( player.score * .1); player maps\_zombiemode_score::minus_to_player_score( points );
i havent tested it but that should do it, ive noticed when it comes to multiplying out percentages of a players score it has to be cast to int otherwise it comes out to be 0 Double Post Merge: June 18, 2015, 10:01:51 pm
points = int( player.score * .1); player maps\_zombiemode_score::minus_to_player_score( points );
i havent tested it but that should do it, ive noticed when it comes to multiplying out percentages of a players score it has to be cast to int otherwise it comes out to be 0
Thank you! You have solved my problem! I did not know about int.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Has released one or more maps to the UGX-Mods community.
Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
this will make sure that the points could not be lower then 0
maybe it is useful for you
best regards, Gamer9294
You can't get below 0 if you only take 10% off everytime. If i have 10 point, it would take off one point (which won't work in waw because points get rounded up by 10). What i'm trying to say is if the player has less than 100 points, this thing can cause things like score HUD not changing, etc.
You can't get below 0 if you only take 10% off everytime. If i have 10 point, it would take off one point (which won't work in waw because points get rounded up by 10). What i'm trying to say is if the player has less than 100 points, this thing can cause things like score HUD not changing, etc.
Lukkie1998
okay thanks for the advice I was forgetten that xD