SRL Archive - OSR Help

How to use multiplying?


begginer

2012-01-20 12:31:30

I got a script that counts how much monters does it kill. I just wanna add * 200 to that script

example:

WriteLn('Yaks killed: '+IntToStr(KillCount));

Where do I put * 200 ?

Kyle Undefined

2012-01-20 12:34:00

Why the * 200? Also, is this what you're looking for?

WriteLn('Yaks killed: '+IntToStr((KillCount * 200)));

begginer

2012-01-20 12:37:07

Will give a try now

Thanks, Works so cool