[Flashy] Show with TextDraw a Kill counter
#6

I rather try helping you getting it done on your own than giving you finished code, so you don't need to ask again if you want to script something that easy again.

You have a perfect and easy-to-understand explanation of what an array is right here:

https://sampwiki.blast.hk/wiki/Scripting_Basics#Arrays

To achieve what you want to have, you create an array with two cells storing the number of players of each team in those two cells.

Whenever a player dies, you check his team and depending in which team he's been you decrement the respective array cell by one (subtract one).

That's really all you need to know, anything else can be read from documentary.

Now try scripting it yourself and if you run into specific problems, post here again.
Reply


Messages In This Thread
[Flashy] Show with TextDraw a Kill counter - by Flashy - 14.05.2010, 09:48
Re: [Flashy] Show with TextDraw a Kill counter - by Flashy - 14.05.2010, 10:31
Re: [Flashy] Show with TextDraw a Kill counter - by Flashy - 14.05.2010, 12:23
Re: [Flashy] Show with TextDraw a Kill counter - by juice.j - 14.05.2010, 12:54
Re: [Flashy] Show with TextDraw a Kill counter - by Flashy - 14.05.2010, 13:02
Re: [Flashy] Show with TextDraw a Kill counter - by juice.j - 14.05.2010, 13:11
Re: [Flashy] Show with TextDraw a Kill counter - by Flashy - 14.05.2010, 13:47
Re: [Flashy] Show with TextDraw a Kill counter - by Flashy - 14.05.2010, 15:46
Re: [Flashy] Show with TextDraw a Kill counter - by Flashy - 14.05.2010, 17:22
Re: [Flashy] Show with TextDraw a Kill counter - by juice.j - 14.05.2010, 18:46

Forum Jump:


Users browsing this thread: 2 Guest(s)