Timer of sort.
#1

Alright so I've been here a few days on the forums and I would like to say I'm loving the community. Anyway What I'm here to ask is if anyone could simply point me in the right direction as to adding a timer to my server that shows up on the bottom right and says 5:00 when you start but counts down all the way to 0 and is global for all users so if you join after the new map starts your time will be the same as everyone else. For example if someone is ingame while the mode changes their time starts at 5 counts down to like 2:45 give or take and if a new player joins and spawns their time will be 2:45 not 5.
Reply
#2

https://sampwiki.blast.hk/wiki/SetTimer
Reply
#3

Thanks testing it out now if it works +Rep
Reply
#4

Okay I tried it and It kinda helped but I need a visual timer on the screen to show up would I use a textdraw to do it?
Reply
#5

something like this if it helps
Reply
#6

Bump
Reply
#7

Oh, thats the game timer... i dont think you can edit that to make it do a countdown.


But a countdown is possible.
Reply
#8

It's possible to make it countdown, but I'm not sure how...
Reply
#9

Take a look at some clock filterscripts and see how they work.
Then do the same but reversed, so each time the callback is called it takes 1 off the variable therefore taking away 1 ig
Reply
#10

Alright thanks for the help btw if you happen to come across one point it my way please? Thanks guys
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)