Raised This Month: $51 Target: $400
 12% 

CS_terminateRound not adding team score


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Extremelyd1
Junior Member
Join Date: Nov 2017
Old 05-24-2018 , 11:15   CS_terminateRound not adding team score
Reply With Quote #1

I found this project that is really old, but it still works quite well. It is a VIP gamemode in CS:GO, but after the round ends when a VIP is rescued the amount of rounds won by CT (or T) does not go up. So I looked into the code, but it should actually be working. Can someone help me out?
https://github.com/Theadd/govip/blob...pting/govip.sp

At line 327 for example, there is a call to CS_TerminateRound but the team scores stay at 0 - 0.
Extremelyd1 is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 05-26-2018 , 21:26   Re: CS_terminateRound not adding team score
Reply With Quote #2

Get team score:
http://sourcemod.net/new-api/cstrike/CS_GetTeamScore

Set team score:
http://sourcemod.net/new-api/cstrike/CS_SetTeamScore

Team defines:
https://github.com/alliedmodders/sou...strike.inc#L38
__________________
Neuro Toxin is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode