11.05.2013, 18:04
I've add a Command called Mute ( Everyone knows it :P ), and it didn't go smoothly. The image below shows it all,
It shows 2 text, weird.
Help please...
It shows 2 text, weird.
pawn Код:
public OnPlayerText(playerid, text[])
{
new
message[128];
if(PlayerInfo[playerid][Mute] == 1) return SendClientMessage(playerid, COL_RED, "[ERROR]: You are muted, you can't talk");
{
format(message, sizeof(message), "%s says: %s", GetName(playerid), text);
ProxDetector(30.0, playerid, message, -1);
}
return 1;
}