Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Death [GER]
Forum: Scripting 09-01-2010, 09:29
Replies: 25
Views: 14,493
Posted By Death [GER]
Re: Dividing the numbers in sourcemod

!Deaths means if it doesnt have a value aka it is 0?

Where is an integer expected?

And i already said cant test because i am at work.

I also just wanted to tell the one posting before me...
Forum: Scripting 09-01-2010, 06:54
Replies: 25
Views: 14,493
Posted By Death [GER]
Re: Dividing the numbers in sourcemod

1. If you have more kills than Deaths, your Ratio will be over 100%

2. stock GetClientKillDeathRatio(Client)
{
new Deaths = GetClientDeaths(Client);
if(!Deaths) return 0.0;
...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 21:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode