SA-MP Forums Archive
Statistic - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Statistic (/showthread.php?tid=169375)



Statistic - Ernis456 - 19.08.2010

Hi, I creating mini missions server and I wanna to create mission Death Match. How can I make TextDraw team kills statistic like : TEAM1: 5 kills , TEAM2: 10 kills.
Thanx for help.


Re: Statistic - ScottCFR - 19.08.2010

Create it on a loop under OnGameModeInit. Thne when people start the mini missions use TextDrawSetString ti chage it. Put it on a timer for every 10 seconds or so and you should be good.


Re: Statistic - Ernis456 - 19.08.2010

Maybe can somone write few functions of this statistic ?


Re: Statistic - ScottCFR - 19.08.2010

Well, I am at work. I cannot get pawno, so I can't but if someone else would like to go for it. Make sure you put the loop under 'onGameModeInit' so that it creates all the player slots. Then use the show and hide function as needed.