13.07.2011, 14:10
Explain more, what is the line...
pawn Код:
public OnPlayerText(playerid, text[])
{ new file[256],PName[MAX_PLAYER_NAME], isMuted[ MAX_PLAYERS ]; // added a new variable isMuted
GetPlayerName(playerid,PName,MAX_PLAYER_NAME);
format(file,sizeof(file),"/Users/%s.ini",PName);
isMuted[ playerid ] = dini_Get(file,"Muted"); // removed spaces
if( isMuted[ playerid ] == 1 ) return !SendClientMessage( playerid, -1, "You are muted" ); // changed this line
return 1;
}