I could not find anything regarding this subject.
Does anyone know how to get the current round, when a round ends in counter strike source?
Thanks in advance!
Please post any questions about developing your plugin here. Please use the search function before posting!
2 posts • Page 1 of 1
Currently, there is no such function available, but you can simply sum the wins of all teams, which usually reflects the round count.
Syntax: Select all
from players.teams import team_managers
from filters.entities import EntityIter
return sum(entity.score for entity in EntityIter(team_managers))
Who is online
Users browsing this forum: No registered users and 1 guest