Thread: Scripting Forum
View Single Post
mehelp
Junior Member
Join Date: Jul 2011
Old 07-19-2011 , 14:50   Re: Scripting Forum
Reply With Quote #30

Quote:
Originally Posted by Powerlord View Post
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:szTmp15 ];
GetClientName(iNamesizeof(Name));
AddCommas((ClientPoints[i] + CurrentPoints[i]), szTmpsizeof(szTmp));
CPrintToChat(i"{blue}%s \x01(%s) got points for killing Infected"NameszTmp); 
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..

Last edited by mehelp; 07-19-2011 at 22:06.
mehelp is offline