23.02.2008, 09:57
VERY VERY nice script , tho i just have one question
Why is there 2 of the codes? does the lower one actually do anything? don't they both do the same? (sorry if im asking noobish it's like 2 years ago since i coded)
Code:
public OnPlayerText(playerid, text[]) { if(muted[playerid] == 1) { SendClientMessage(playerid, COLOR_GREY, " You can not speak, you have been muted."); return 0; } for(new i = 0; i <= MAX_PLAYERS; i++) { if(muted[i] == 1) { SendClientMessage(playerid, COLOR_GREY, " You can not speak, you have been muted."); return 0; } } return 1; }