Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Get winning team during intermission

- - - - - lua

  • Please log in to reply
2 replies to this topic

#1
OFFLINE   Zelly

Zelly

    Regular Member

  • Coders
  • PipPipPip
  • 141 posts
73
Getting Better

Am looking for a way to get the winning team during intermission through lua.

 

Is there some server cvar that holds this?

 

I am drawing a blank at the moment, can't seem to locate any.



#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

It is in a configstring. Number 14 (CS_MULTI_MAPWINNER). Read value of the key "winner", values: 0 - Axis, 1 - Allies, -1(minus one) - Tied.



#3
OFFLINE   Zelly

Zelly

    Regular Member

  • Coders
  • PipPipPip
  • 141 posts
73
Getting Better

Thanks. I will give that a go.







Also tagged with one or more of these keywords: lua

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users