[DM] Textdraw "Help"
#2

Firstly you can start using Pleox's textdraw editor it's very easy to use. Textdraws are really fast to be created or modified. About the stats update you can do on this ways:

1° Kills - Increment the kills variable when you kill a player and update the textdraw
2° Deaths - Do the same thing when your character dies.
3° Killing spree: Same system if you kill more than an amount of times.
4° Ratio: Just Just do Kills/Deaths.

A possible example (not mine though) is:

pawn Код:
new tdstring[5];
new Float:ratio = killsvar/deathsvar;
format( tdstring, sizeof( tdstring ), "%f", ratio );
TextDrawSetString( textdraw, tdstring );
Reply


Messages In This Thread
[DM] Textdraw "Help" - by Youtube12 - 20.10.2012, 17:18
Re: [DM] Textdraw "Help" - by TheArcher - 20.10.2012, 17:24
AW: [DM] Textdraw "Help" - by Youtube12 - 20.10.2012, 17:42
Re: [DM] Textdraw "Help" - by TheArcher - 20.10.2012, 18:02
AW: [DM] Textdraw "Help" - by Youtube12 - 20.10.2012, 18:21

Forum Jump:


Users browsing this thread: 1 Guest(s)