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

set score scoreboard


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sparkey
Senior Member
Join Date: May 2010
Old 11-14-2010 , 00:05   set score scoreboard
Reply With Quote #1

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!
sparkey is offline
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 11-14-2010 , 01:22   Re: set score scoreboard
Reply With Quote #2

http://wiki.amxmodx.org/Half-Life_1_...ents#ScoreInfo
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
sparkey
Senior Member
Join Date: May 2010
Old 11-16-2010 , 05:47   Re: set score scoreboard
Reply With Quote #3

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!
sparkey is offline
Schwabba
Senior Member
Join Date: Apr 2008
Old 11-17-2010 , 23:44   Re: set score scoreboard
Reply With Quote #4

You can use set_user_frags ( index, newFrags ) and cs_set_user_deaths ( index, deaths ) .
Schwabba is offline
sparkey
Senior Member
Join Date: May 2010
Old 11-19-2010 , 08:37   Re: set score scoreboard
Reply With Quote #5

Quote:
Originally Posted by Schwabba View Post
You can use set_user_frags ( index, newFrags ) and cs_set_user_deaths ( index, deaths ) .
Is'nt that only for the player score?
sparkey is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-19-2010 , 16:38   Re: set score scoreboard
Reply With Quote #6

You never said which score you want to change:
  • player score
  • team score
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
sparkey
Senior Member
Join Date: May 2010
Old 11-20-2010 , 05:43   Re: set score scoreboard
Reply With Quote #7

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
sparkey 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 13:11.


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