TD not hiding with SetTimer function?
#9

Quote:
Originally Posted by Private200
Посмотреть сообщение
Killed[killerid]++;
if(Killed[killerid] == 1)

What are you trying to achieve by that? You are incrementing Killed after every kill and only showing the textdraw after his first kill. This means that the textdraw WILL NOT show after the first kill.
It was a killing spree, this code was meant to show at every kills the points he gets. Thats just not even half of the code i sent.
So he gets 1 kills, 1 points td showing up, 2 kills 2 point td showing up and go on, it works and the problem is that the timer looks like stuck or not called properly, just noticed the id 0 player hides the td, while id 1 still showing and thats with the timer i stated on the thread. Just a simple code with a variable stating it. I still didn't tested the new script (SetTimerEx) as my mate who works with me is inactive and anyway, the only one stuff that i'am confusing myself is i don't know when to call a TD as global (max players) and when not. For example for this kills point td, do you need to state it as a global?
Reply


Messages In This Thread
TD not hiding with SetTimer function? - by wallen - 06.02.2018, 15:45
Re: TD not hiding with SetTimer function? - by dani18 - 06.02.2018, 15:53
Re: TD not hiding with SetTimer function? - by wallen - 06.02.2018, 16:03
Re: TD not hiding with SetTimer function? - by dani18 - 06.02.2018, 16:04
Re: TD not hiding with SetTimer function? - by wallen - 06.02.2018, 16:06
Re: TD not hiding with SetTimer function? - by Mugala - 06.02.2018, 19:54
Re: TD not hiding with SetTimer function? - by solstice_ - 06.02.2018, 20:11
Re: TD not hiding with SetTimer function? - by Private200 - 06.02.2018, 20:29
Re: TD not hiding with SetTimer function? - by wallen - 06.02.2018, 20:41
Re: TD not hiding with SetTimer function? - by Private200 - 06.02.2018, 20:55

Forum Jump:


Users browsing this thread: 1 Guest(s)