31.08.2010, 10:39
Hi, how can i make a script of ratio? i have a kills and deaths textdraw and i want to make another one who shows ratio, cant find on search cuz the stupid motherfucking search is not working fine
format(str,sizeof(str),"Ratio: %0.2f",Kills/Deaths);
new tdstring[5];
new Float:ratio = killsvar/deathsvar;
format( tdstring, sizeof( tdstring ), "%f", ratio );
TextDrawSetString( textdraw, tdstring );