Its seems as though i can not do this with getting the erro "experssion has no effect" :/
Code:
new dmgmult = floatround(coins[id]/25,floatround_floor)
if( coins[id] >= 25 ) {
for( new i=0; i<coins[id]; dmgmult ) {
coins[id] -=dmgmult
coinDamage[id] +=5.0
}
coinHasExtraDamage[id] = 1
client_print(id, print_chat, " [COIN MOD] You recived extra damage!" )
}
__________________