AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   set score scoreboard (https://forums.alliedmods.net/showthread.php?t=143075)

sparkey 11-14-2010 00:05

set score scoreboard
 
Hey,

I thought this question had been answered a thousand times but i cant seem to find it anywhere or maybe it's not as simple as it sound.

I just want to change the score on the scoreboard. I already have the team scores saved so i just need to manipulate the score on the scoreboard.

Thanks!

Flipper_SPb 11-14-2010 01:22

Re: set score scoreboard
 
http://wiki.amxmodx.org/Half-Life_1_...ents#ScoreInfo

sparkey 11-16-2010 05:47

Re: set score scoreboard
 
Thx for your answer.

Would you mind showing me an example in code if it does'nt take much of your time. If i got this right it automaticly changes the score value to the correct one each round, is that correct?

I would only like to start from a specific score at the start of a match if that is possible.

Thanks!

Schwabba 11-17-2010 23:44

Re: set score scoreboard
 
You can use set_user_frags ( index, newFrags ) and cs_set_user_deaths ( index, deaths ) .

sparkey 11-19-2010 08:37

Re: set score scoreboard
 
Quote:

Originally Posted by Schwabba (Post 1351682)
You can use set_user_frags ( index, newFrags ) and cs_set_user_deaths ( index, deaths ) .

Is'nt that only for the player score?

Exolent[jNr] 11-19-2010 16:38

Re: set score scoreboard
 
You never said which score you want to change:
  • player score
  • team score

sparkey 11-20-2010 05:43

Re: set score scoreboard
 
I just realized that i may not have been that clear, sry about that. I wrote teamscore but maybe not in the clear way.

It is the teamscore i am looking to change :)


All times are GMT -4. The time now is 11:26.

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