Timer help, display seconds counting down.
#1

I've set a 30 second timer. I want to display the amount of seconds as it ticks down to zero, its a SetTimerEx so i only want the seconds ticking down to display for the players the timer is running for, not for everyone in the server.

I want the first 20 seconds to be white and the last 10 seconds to be red. How do i do this?

Reply
#2

Create a public variable and put it on the seconds you want (30)
example:
pawn Код:
// TOP
new variable=30;
Then create a timer of 1 second that take every second 1 - 30
then show the textdraw/gametext to then it work
Reply
#3

I'm wanting to do it the same way as its done for the /countdown command.

If thats possible?

Just one timer showing each second as it goes...
Reply
#4

That's what he said to do. You just want it done for you.
Reply
#5

Want it done for me? Pfff don't waste my topic with uninformative answers.

I've already done it that way, wondering if theres another way.
Reply
#6

What's the need for another way? To show on just that certain player's screen.
Reply
#7

i think he wants Emo style /kill
/kill
Starting to cut
1
2
3
4
5
Finished
6
7
8
9
10
DEAD
Reply
#8

emo style /kill

I'm just wanting to dislplay each number as timer runs.

For a tdm, where they have 30 seconds to select weapons from a menu when then spawn in the tdm area.

I think I figured out two shorter ways though, so I'll give each a try.
Reply
#9

better give them 3 secs to choose the weapons..not 30
Reply
#10

I just posted a snippet in the "GameModes" sub in the "Usefull Snippets" thread which will help you.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)