PDA

View Full Version : Change Score


Freecode
03-17-2004, 22:23
Change Score
Version 2.0
Author: Freecode

Change players/@TEAMS Kills(frags) and Deaths.

Admin Commands:
:: amx_chscore <nick/@CT/@TERRORIST> <frags #> <deaths #>

To Do:
:: Nothing

tnsk8er27
03-20-2004, 13:36
this is prolly the coolest plugin ive ever seen, lol, GG freecode =0)

LoWe
03-26-2004, 16:15
GJ :)
It may be fun playin with this..

Be nice, or i will take youre kills! Thats a pretty good :)

MagicShot
03-27-2004, 05:15
This Plugin is So much fun when you can change your score on the board :P 18462 kills and 0 deaths :twisted:

`Dr. Nick Riviera`
04-16-2004, 13:24
This is sick, you are sick!!!

ArtAttack
04-18-2004, 18:58
now any screenshot showing score is untrustable :?

Freecode
04-18-2004, 19:29
now any screenshot showing score is untrustable :?
haha

Sharp
05-27-2004, 19:46
i love this plugin dude!!! ty

Disturbedferrari
05-30-2004, 10:10
i dont like this, only lamers and newbs have to use this and lie about their score.

Burnzy
05-30-2004, 12:38
dude, this should be taken off. Lots of sites have like contests for best scores and shit. This is just wrong! This is like one of those inventions that the government has to take away!!! I strongly suggest to be gone!

kingpin
05-30-2004, 13:13
lol well now the sites will also ask for a demo.

Sharp
05-30-2004, 13:57
dude its just for fun for those idiots that abuse admins u can just srew around with the score... its fine... and for your site when somebody sees a score thats 40000 frags and 2 deaths they know its fake :P

kingpin
05-30-2004, 14:21
dude its just for fun for those idiots that abuse admins u can just srew around with the score... its fine... and for your site when somebody sees a score thats 40000 frags and 2 deaths they know its fake :P

yepp that true, plus comon if you can have godmode with no announcements whats this? or amx_heal...

Burnzy
05-31-2004, 10:34
tru tru... yes but sum peeps could just do a score of 142-18
that can be true. And i dont think they would ask for a demo. When i submitted mine a while back they didnt... Even though it was 172-21

Freecode
05-31-2004, 14:52
if your thinking some1 is cheating as for demo. Otherwise this plugin was made for those people who think there all that. So you change their score and luagh at thme :twisted: :twisted: :twisted: :twisted:

bobikofjij
07-08-2004, 11:46
can you write an example for me??


=======
©Bob(tm)

gotdilbert
07-08-2004, 14:00
Seems that this plugin has a bug with the deaths being what they were after you die again.

kingpin
07-08-2004, 14:08
works fine for me for deaths and frags.

ReddBuLL
07-23-2004, 06:46
what is the next thing? fakedemo? xDDD hahaha

AdamVernon
07-28-2004, 09:47
aaaa

Freecode
07-28-2004, 11:38
doubt it. never tried.
but very much doubt it since the stats are registered when a kill event is made. This just changes the score.

kingpin
07-28-2004, 12:18
nope it does not change it for them in the stats etc. just on the scoreboard. and man its fun to change a campers score to a negative or give them like 999 deaths...

Freecode
07-28-2004, 12:35
nope it does not change it for them in the stats etc. just on the scoreboard. and man its fun to change a campers score to a negative or give them like 999 deaths...
hah ur funny eh?

kingpin
07-28-2004, 12:38
lol try it out then tell me if you dont find it hilarious the first few times lol...

Harkam
11-28-2004, 16:29
Cant use it write me sometihing if my name was Pule-Manden

Harkam
11-28-2004, 16:55
I wrote amx_chscore "Pule-Manden" "1000#" "0#" and i didnt work

JackWinkleBean
01-31-2005, 22:36
Remove the # after your numbers. Also, is this AMX or AMXX?

Bugsy
02-23-2005, 00:35
It's not working for me either... Using amxx

[Godmin] Gonzo
02-23-2005, 02:34
Stop crying. It was easily possible before this plugin and it is after...

btw: I have a 418:30 Screenshot (real) of me ;)

m1938mauser
05-26-2005, 10:30
hahahaha this is really fun to make the players mad...!!! :)

Proach
05-26-2005, 10:33
lmao !
w00t I thought of requesting sucha plugin but never came to it

thanks it's great

Freecode
05-26-2005, 12:49
rofl

i hope it still works with all the new steam updates

kid741010
05-27-2005, 14:05
This is sick, you are sick!!!

no boby call you use this plugin= =..

c0ke
05-27-2005, 16:39
everything works except one thing. the COMPLETE score for the team... when you change someone's score it doesnt change the complete team scores.

-FrY-
05-27-2005, 17:40
OK say my score is 20:0 (if i set it to that) when i get a kill its still 20:0 and same for deaths? you should change it so it just keeps adding btw its an amazing plugin!!!!

Furonem
06-07-2005, 22:57
When I compile, I get this error:

//AMXXSC compile.exe
// by the AMX Mod X Dev Team


//// ChangeScore.sma
// C:\Program Files\Valve\Steam\SteamApps\ermine92\conditio n zero\czero\addons\a
mxmodx\scripting\ChangeScore.sma(55) : error 017: undefined symbol "set_user_fra
gs"
// C:\Program Files\Valve\Steam\SteamApps\ermine92\conditio n zero\czero\addons\a
mxmodx\scripting\ChangeScore.sma(77) : error 017: undefined symbol "set_user_fra
gs"
//
// 2 Errors.
// Could not locate output file C:\Program Files\Valve\Steam\SteamApps\ermine92\
condition zero\czero\addons\amxmodx\scripting\compiled\ ChangeScore.amx (compile
failed).
//
// Compilation Time: 0.11 sec
// ----------------------------------------

Press enter to exit ...

atomic
07-26-2005, 09:12
u dont need to compile with amxx. just add the "amx" file into plugins...
then edit the plugins.ini and type whatever it is

DarkSlain
07-28-2005, 00:38
great plugin, however it would be alot easier to download UAIO
but great work anyway

[]D [] []v[] []D
07-28-2005, 22:54
freecode this plugin is freakin awsome
u should make it so where the kills count for the rank

paingiva8
12-16-2005, 19:57
Where do we DOWNLOAD it? or is it auto-maticly in amxmodx

Death
01-19-2006, 19:39
Will this work for dod? I tired but it wont load...:(

Freecode
01-20-2006, 01:10
Will this work for dod? I tired but it wont load...:(
i guess not then. :?

Cryonic
01-21-2006, 05:23
If you have f.e. 12-0 and change the score to 5-0 it will reset the score to 12-0 the next round so this don't work anymore -or- something is wrong with my install. Probably me, I'm stupid :)

DyingToLive
01-21-2006, 07:21
Edit: Weird theres something with the forums

Cryonic
01-21-2006, 08:15
correction, it should be the other way around (deaths) Only deaths is reset...

$!l3nT
04-10-2006, 18:28
I need an official plugin bcz im using WinRar when i open it wont open :cry:

Slash The Mighty
07-09-2006, 06:00
i dont like this, only lamers and newbs have to use this and lie about their score.
And damn we love it ^^... Gj Freecode.. I just went online for some minutes ago down here on Rhodes for checking after new stuff, and i found this so gj, i will use it when i come home in about 16 hours.
Gotta ♥ your plugin!

Aly007^
08-05-2006, 20:15
hehe verry funny plugin gj man.
This plugin is not 4 n00b is only for fun ^^

SubTitLe
08-06-2006, 22:33
Would this change your Rank?

Silent Death
09-11-2006, 05:24
Will these kills go to the rank system ?

SweatyBanana
09-11-2006, 11:34
Will these kills go to the rank system ?


No.

Switchie
09-11-2006, 11:39
Yeah i like this plugin much :D

Giving me a 1337 - 0 score

Morpheus759
02-11-2007, 06:55
Yaaa ! nice men .. my score: 7580:1:PP

紫色炫燿
04-06-2007, 02:13
超强... 变态

demon9206
06-07-2007, 00:14
aww man, thanks alot fro this! I need to show those bungholes what it means to respect people w/o it getting blamed on me, or make them think sum1 went on their account or summin lol

Daniel3
06-26-2007, 11:23
can someone give me a command for example?

i tried to do it and it never works.. on the home server (hlds) and the linux serv..

help?

SnorLux
10-09-2007, 12:21
can you write an example for me??
I do not understand how this
Thus Alice. ?
Amx_chscore "The One (SnorLux)" "645" "0"

I used AMXX in my server

Can you screenshot please ?:cry:

SnorLux
10-09-2007, 12:26
Please

Arion
10-16-2007, 09:09
Use this one, works perfectly:

http://forums.alliedmods.net/showthread.php?t=59859

{CK} Matt (McFadden)
06-10-2008, 16:18
I put in
amx_chscore <@t> <1000> <0>
and also tryed
amx_chscore @t 1000 0
But nothing happend :(

kevin_36
06-11-2008, 01:44
self-deceiving:nono:

Cherno.arg
07-07-2008, 21:33
hahha .. Nice Plugin :)

Osama121
09-15-2008, 16:44
unknown unknown unknown ChangeScore.amx bad load
can nebdy help me on this i hve installed dis plugin but um getting dis error i dunno y .. kan nebdy figure me out whts da prob ?? plzz help me ouT ??

ConnorMcLeod
09-15-2008, 16:58
Try this version.

Osama121
09-16-2008, 06:15
thnx man thnx a loTT ! it workd .. but kan u plz help me on itz cmmnd ... cauz whem um using itz cmmnd it givies an error :S ... [AMX] No such client found. wht shuld i do
?

Spown15
09-30-2008, 10:38
lol

Halo Mod 4Ever
01-12-2009, 22:59
any example????

amx_chscore <@t> <1000> <0>
this is not happining

Battousai-sama
11-24-2009, 18:40
---------------------------
Fatal Error
---------------------------
User Msg 'ScoreInfo': 7 bytes written, expected 9

---------------------------
OK
---------------------------

is what i get.

manguedebol
06-07-2010, 16:20
Exmple plz?

ConnorMcLeod
06-07-2010, 16:47
amx_chscore mangue 1337 -1337*

BTW, orginal version doesn't allow self change, try that one : http://forums.alliedmods.net/showthread.php?p=686453#post686453

deadman909
11-01-2011, 06:47
Can someone make it to affect your ACTUAL RANK. This would be nice to punish people.

shubhamgamer
05-02-2013, 12:45
plz help me how to use this command
amx_chscore <nick/@CT/@TERRORIST> <frags #> <deaths #>
can you give a example how to use is iam using it like this
amx_chscore <game> <frags 20> <deaths 10> this is correct or not please help me guys

shubhamgamer
05-02-2013, 12:56
THANKS

deadman909
05-03-2013, 00:39
plz help me how to use this command
amx_chscore <nick/@CT/@TERRORIST> <frags #> <deaths #>
can you give a example how to use is iam using it like this
amx_chscore <game> <frags 20> <deaths 10> this is correct or not please help me guys

Examples:

amx_chscore shubhamgamer 20 10
amx_chscore @CT 20 10
amx_chscore @TERRORIST 20 10

ConnorMcLeod
05-03-2013, 03:23
This version is outdated, send a ScoreInfo message when cs_set_user_team is already sending one.

You can use that one if you want :
#include < amxmodx >
#include < amxmisc >
#include < fakemeta >
#include < hamsandwich >

#pragma semicolon 1

#define PLUGIN "Admin Set Score"
#define VERSION "0.0.1"

#define clamp_short(%0) clamp(%0, -32768, 32767)

const m_iTeam = 114;
const m_iDeaths = 444;

public plugin_init()
{
register_plugin( PLUGIN, VERSION, "ConnorMcLeod" );

register_concmd("amx_setscore", "ConCmd_SetScore", ADMIN_LEVEL_A, " - <partialname|@[T|C|A]|#userid|steamid> <frags> <deaths>");
}

public ConCmd_SetScore(id, lvl, cid)
{
if( cmd_access(id, lvl, cid, 4) )
{
new szTarget[32], szFrags[7], szDeaths[7], iFrags, iDeaths, player;
read_argv(1, szTarget, charsmax(szTarget));
read_argv(2, szFrags, charsmax(szFrags));
read_argv(3, szDeaths, charsmax(szDeaths));
iFrags = clamp_short( str_to_num(szFrags) );
iDeaths = clamp_short( str_to_num(szDeaths) );

player = cmd_target(id, szTarget, 0);
if( player )
{
CsSetUserScore(player, iFrags, iDeaths);
}
else if( szTarget[0] == '@' )
{
new players[32], num, team;
get_players(players, num, "h");
switch( szTarget[1] )
{
case 'a','A':
{
team = -1;
}
case 't','T':
{
team = 1;
}
case 'c','C':
{
team = 2;
}
case 's', 'S', 'u', 'U':
{
team = 0;
}
default:
{
return PLUGIN_HANDLED;
}
}
for(new i; i<num; i++)
{
player = players[i];
switch( team )
{
case 0:
{
if( !( 1 <= get_pdata_int(player, m_iTeam) <= 2) )
{
CsSetUserScore(player, iFrags, iDeaths);
}
}
case 1, 2:
{
if( get_pdata_int(player, m_iTeam) == team )
{
CsSetUserScore(player, iFrags, iDeaths);
}
}
default:
{
CsSetUserScore(player, iFrags, iDeaths);
}
}
}
}
}
return PLUGIN_HANDLED;
}

CsSetUserScore(id, frags, deaths)
{
set_pdata_int(id, m_iDeaths, deaths);
ExecuteHam(Ham_AddPoints, id, frags - get_user_frags(id), true);
}

Marinovv327
06-13-2021, 04:43
1. I noticed a bug.
I give an example: If I give myself 1000 kills and 5 deaths and commit suicide, it gives you -1 kill, ie. decreases the value.
2. For disinformed users, this plugin does not report killings or deaths in the rankings as /top15 or /top10.