/mute help
#1

Hey how can i make it so that if his "isMuted" is bigger than 0 it will disable him from sending stuff?
what i got so far:
pawn Код:
public OnPlayerText(playerid, text[])
{
    if Info[playerid][isMuted] > 0
    return 1;
}
Reply
#2

pawn Код:
public OnPlayerText(playerid, text[])
{
    if (Info[playerid][isMuted] > 0) {
        SendClientMessage(playerid, -1, "ERROR: An admin has muted you and you cannot chat.");
        return 0;
    }
    return 1;
}
Reply
#3

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(Info[playerid][isMuted] > 0)return SendClientMessage(playerid, -1, "You are muted you can't chat.");
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)