24.03.2013, 21:48
Hello the Problem is when the Player is VIP and have the [VIP] Tag and he get muted, he can talk. How to fix that?
Код:
if(pInfo[playerid][pVipLevel] >= 1) { new string[128], playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); format(string, sizeof(string), "[VIP]%s: {FFFFFF}(%d): %s ",playername, playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), string); return 0; } if(pInfo[playerid][pLogged] == 1) { new stringbig[356]; if(pInfo[playerid][IsPlayerMuted] == 1) { SendClientMessage(playerid,-1,""chat""COL_LIGHTGREEN" You are muted"); return 0; }