Fixed PrintCenterTextAll not accepting the small translation key.
authorPhong Dang <teame06@gmail.com>
Mon Jul 30 20:26:18 2007 +0000 (2007-07-30)
changeset 1217759155bea814
parent 1216 1063cb3ad1ce
child 1218 a4e82ef4e7ef
Fixed PrintCenterTextAll not accepting the small translation key.
plugins/include/halflife.inc
     1.1 --- a/plugins/include/halflife.inc	Mon Jul 30 19:10:46 2007 +0000
     1.2 +++ b/plugins/include/halflife.inc	Mon Jul 30 20:26:18 2007 +0000
     1.3 @@ -264,13 +264,13 @@
     1.4  {
     1.5  	new maxClients = GetMaxClients();
     1.6  	decl String:buffer[192];
     1.7 -	
     1.8 -	VFormat(buffer, sizeof(buffer), format, 2);
     1.9 -	
    1.10 +
    1.11  	for (new i = 1; i <= maxClients; i++)
    1.12  	{
    1.13  		if (IsClientInGame(i))
    1.14  		{
    1.15 +			SetGlobalTransTarget(i);
    1.16 +			VFormat(buffer, sizeof(buffer), format, 2);
    1.17  			PrintCenterText(i, "%s", buffer);
    1.18  		}
    1.19  	}