Empty Message in Chat
#1

~fixed~
Reply
#2

Quote:
Originally Posted by Blackazur
View Post
Code:
if(pInfo[killerid][pKills] == 10) { pInfo[killerid][pRank] = 1,format(str,sizeof(str),""chat""OLD_ADMINCMD" [RANK] %s (%d) has been ranked up to rank {007D3E}'{21DD00}1{007D3E}'",PlayerName(killerid),killerid,GameTextForPlayer(killerid,"~r~Rank up",2500,1),SendClientMessageToAll(-1,str)); }
thats just messed up oO you have all the stuff in your format, even the function to send the formatted message itself

try this

Code:
if(pInfo[killerid][pKills] == 10)
{
	pInfo[killerid][pRank] = 1;
	format(str,sizeof(str),""chat""OLD_ADMINCMD" [RANK] %s (%d) has been ranked up to rank {007D3E}'{21DD00}1{007D3E}'",PlayerName(killerid),killerid);
	GameTextForPlayer(killerid,"~r~Rank up",2500,1);
	SendClientMessageToAll(-1,str);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)