[Include] Single-Player Info Boxes
#13

Quote:

You can use KillTimer() on a timer ID and it won't matter if it's running or not.

Completely clarify your mistake.

If you create 2 variables for timers:
pawn Код:
new timer1;
new timer2
Now you set variable "timer1" on a timer, but don't for the second.
pawn Код:
timer1 = SetTimer(...);
Now you try to kill "timer2" even if you haven't set it (according to you it doesn't matter)
pawn Код:
KillTimer(timer2);
Your timer1 will be killed in this case, because both have "0" as their default value, and timer1 is set to 0 as well as a first index for a timer. Same is happening in your script.
Reply


Messages In This Thread
Single-Player Info Boxes - by Kevln - 29.10.2015, 05:00
Re: Single-Player Info Boxes - by N0FeaR - 29.10.2015, 05:27
Re: Single-Player Info Boxes - by DemME - 29.10.2015, 05:32
Re: Single-Player Info Boxes - by Alex Magaсa - 29.10.2015, 05:40
Re: Single-Player Info Boxes - by N0FeaR - 29.10.2015, 05:56
Re: Single-Player Info Boxes - by DemME - 29.10.2015, 05:58
Re: Single-Player Info Boxes - by Gammix - 29.10.2015, 06:12
Re: Single-Player Info Boxes - by DemME - 29.10.2015, 06:14
Re: Single-Player Info Boxes - by Gammix - 29.10.2015, 06:20
Re: Single-Player Info Boxes - by DemME - 29.10.2015, 06:22
Re: Single-Player Info Boxes - by N0FeaR - 29.10.2015, 06:22
Re: Single-Player Info Boxes - by Kevln - 29.10.2015, 13:18
Re: Single-Player Info Boxes - by Gammix - 29.10.2015, 13:24
Re: Single-Player Info Boxes - by ATGOggy - 29.10.2015, 13:25
Re: Single-Player Info Boxes - by Kevln - 29.10.2015, 13:57
Re: Single-Player Info Boxes - by DemME - 29.10.2015, 14:13
Re: Single-Player Info Boxes - by Kevln - 29.10.2015, 14:47
Re: Single-Player Info Boxes - by Gammix - 30.10.2015, 02:14
Re: Single-Player Info Boxes - by Kevln - 30.10.2015, 02:18
Re: Single-Player Info Boxes - by Gammix - 30.10.2015, 02:23
Re: Single-Player Info Boxes - by Kevln - 30.10.2015, 03:13

Forum Jump:


Users browsing this thread: 5 Guest(s)