Quote:
Originally Posted by Powerlord
Likely the problems are being caused by SourceMod storing strings differently than AMX Mod X does. I'll have to check what needs to be changed to get this working like it should.
|
ok tried
PHP Code:
new String:szTmp[ 15 ];
GetClientName(i, Name, sizeof(Name));
AddCommas((ClientPoints[i] + CurrentPoints[i]), szTmp, sizeof(szTmp));
CPrintToChat(i, "{blue}%s \x01(%s) got points for killing Infected", Name, szTmp);
same result : name (1) got points... but trying new version made me feel happy somehow lol
btw, there is another shtick about displaying stats - when it's about special infected, for exapmple:
"Name(1,111) got points for (1)Boomer" , boomer is shown with number if there's few of them currently spawned on the map; like when you look at players list thru adminmenu - it says 1. Hunter, 2. (1)hunter, when there's couple of infected of the same tipe. but when you killed (1)Boomer, you can assume there's more nearby, which should be a surprise I suppose. got no clue how to deal with this characters in front of infected name..