16.08.2014, 21:57
plz help..
Код:
stock PercentsFromNumber(number,percents) { if(percents > 100) return 0; new string[30]; format(string,30,"%d.%d",number/100,number%100); new result = floatstr(string)*percents; return result; }