Ratio
#3

Ratio is kills divided by deaths, so this is easy made.

Make the textdraw, update it onplayerdeath with kills/deaths

pawn Код:
new tdstring[5];
new Float:ratio = killsvar/deathsvar;
format( tdstring, sizeof( tdstring ), "%f", ratio );
TextDrawSetString( textdraw, tdstring );
Very fast, and not very professional, but oh well

EDIT: too slow
Reply


Messages In This Thread
Ratio - by jaksimaksi - 31.08.2010, 10:39
Re: Ratio - by mrcoolballs - 31.08.2010, 10:47
Re: Ratio - by LarzI - 31.08.2010, 10:47

Forum Jump:


Users browsing this thread: 2 Guest(s)