Problem
#2

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;
}
Reply


Messages In This Thread
Problem[Solved] - by CSSI - 13.07.2011, 13:49
Re: Problem - by Basicz - 13.07.2011, 14:10
Re: Problem - by CSSI - 13.07.2011, 14:22

Forum Jump:


Users browsing this thread: 1 Guest(s)