OnPlayerText problem
#8

try now
pawn Код:
public OnPlayerText(playerid, text[])
{
    new
        message[128];
    if(PlayerInfo[playerid][Mute] == 1)
    {
        SendClientMessage(playerid, COL_RED, "[ERROR]: You are muted, you can't talk");
        return 0;
    }
    else
    {
        format(message, sizeof(message), "%s says: %s", GetName(playerid), text);
        ProxDetector(30.0, playerid, message, -1);
    }
    return 1;
}
Reply


Messages In This Thread
OnPlayerText problem - by Zex Tan - 11.05.2013, 18:04
Re: OnPlayerText problem - by ReVo_ - 11.05.2013, 18:06
Re: OnPlayerText problem - by Zex Tan - 11.05.2013, 18:12
Re: OnPlayerText problem - by ReVo_ - 11.05.2013, 18:30
Re: OnPlayerText problem - by zDevon - 11.05.2013, 18:40
Re: OnPlayerText problem - by Vince - 11.05.2013, 18:43
Re: OnPlayerText problem - by Zex Tan - 11.05.2013, 18:49
Re: OnPlayerText problem - by doreto - 11.05.2013, 18:56
Re: OnPlayerText problem - by Chenko - 11.05.2013, 18:56
Re: OnPlayerText problem - by Zex Tan - 11.05.2013, 19:02

Forum Jump:


Users browsing this thread: 2 Guest(s)