CSGO: Timer

Please post any questions about developing your plugin here. Please use the search function before posting!
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

CSGO: Timer

Postby nullable » Sun Aug 09, 2015 12:29 pm

Hello,

Is it possible to show timer message like warmup timer?

Best Regards.
User avatar
satoon101
Project Leader
Posts: 2703
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Sun Aug 09, 2015 4:39 pm

I haven't tested messages in CS:GO in quite some time. I do not believe we can show a message in the same location as the warmup timer. We can show one in a HintText message, though:

Syntax: Select all

from listeners.tick import TickRepeat
from messages import HintText

def count_down():
HintText(message='Seconds remaining: {0}'.format(timer.remaining)).send()

timer = TickRepeat(count_down)

def start_count_down():
timer.start(1, 10)
Image

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 100 guests