31.01.2010, 11:25
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { { if(PlayerData[playerid][Muted] == 1) { if(PlayerData[playerid][Level] >= 4) { return 1; } NMC(playerid,"[ NOTICE ] You are still muted !"); return 0; }
public OnPlayerCommandText(playerid, cmdtext[]) { { if(PlayerData[playerid][Muted] == 1) { if(PlayerData[playerid][Level] >= 4) { return 1; } NMC(playerid,"[ NOTICE ] You are still muted !"); return 0; }
public OnPlayerText(playerid, text[]) { if(PlayerData[playerid][Muted] == 1) { if(PlayerData[playerid][Level] >= 4) { // HERE SHOULD THE GENERAL OUTPUT LINES BE return 1; } NMC(playerid,"[ NOTICE ] You are still muted !"); return 0; }