Quote:
Originally Posted by RogueDrifter
scm will not return 0 lol here's what you actually need to do
PHP код:
public OnPlayerText(playerid, text[])
{
if(muted[playerid] == 1)
{
SendClientMessage(playerid, COLOR_ORANGE, "SERVER: You are muted");
return 0;//see this
}
new string1[128], PName[MAX_PLAYER_NAME]; //Line 1423
GetPlayerName(playerid, PName, sizeof(PName));
format(string1,sizeof(string1),"{40E0D0}{%06x}%s(%d): {FFFFFF}%s",GetPlayerColor(playerid) >>> 8, PName, playerid, text);
SendClientMessageToAll(-1, string1);
return 0;
}
see how i used return 0 afterwards to stop the message from being sent?
|
This fixed it, thank you I repped you & everyone else that tried to help.