View Single Post
Lord Canistra
Senior Member
Join Date: Mar 2009
Location: Tallinn, Estonia
Old 08-31-2010 , 07:10   Re: Dividing the numbers in sourcemod
Reply With Quote #2

Frags & deaths are integer, not float.
Try
PHP Code:
ratio = (float)(userkills) / (float)(userdeaths
__________________
Lord Canistra is offline